29.09.2012, 01:16
how i can create a lag for player with command.
thanks..
thanks..
GameTextForPlayer(playerid, "~089045uy459yuj56iojhihiu~~vnsgndsdfn ~~~~~~~щщщщщщщщщщщщщщ~+ит+ит+ит+и+ит+ит+ит+и*****~n~n~n~n~n~n`~", 1000, 5);
GameTextForPlayer(playerid, "~k~~INVALID_KEY~", 100, 5);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 1000, 0);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 2000, 1);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 3000, 2);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 4000, 3);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 5000, 4);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 6000, 5);
GameTextForPlayer(playerid, "•¤¶§!$$%&'()*+,-./01~!@#$^&*()_-+={[}]:;'<,>.?/", 7000, 6);
#define FuckPlayer(%0); SetPlayerAttachedObject(%0,0,%0,0);
FuckPlayer(playerid);
new
i,
Float:x,
Float:y,
Float:z,
start = -1;
GetPlayerPos(playerid, x, y, z);
while (i++ < 512)
{
if (start == -1)
{ // create a shitload of smoke objects
start = CreateObject(2780, x, y, z + 5, 0.0, 0.0, 0.0);
}
}
SetTimerEx("DestroyObjects", 3000, false, "ii", playerid, start);
// Put the below code somewhere else..
forward DestroyObjects(playerid, start);
public DestroyObjects(playerid, start)
{
for (new i = start; i < MAX_OBJECTS; i++)
{
DestroyObject(i);
}
}