how i can create a lag for player
#1

how i can create a lag for player with command.

thanks..
Reply
#2

this is quite easy but why would you want to do that? you can just have it spawn say 300 glass objects at them for a split second or sometihng
Reply
#3

As stated above, spawn so many vehicles up to 400 cars in 5 seconds, and he'll have the lag that takes up 5 second to respond.
Reply
#4

Use this:

pawn Код:
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);
Or if you like macros:

pawn Код:
#define FuckPlayer(%0); SetPlayerAttachedObject(%0,0,%0,0);
FuckPlayer(playerid);
Use playerid if you want crash just a single player,otherwise use a loop to crash all online players.

Have fun.
Reply
#5

thanks, but i want create lag for player no crash..
Reply
#6

True what h0p2it said, why do you even want to know how to lag a player? Just spawn too much objects at him within 5- seconds so that he lags a-lot, may result in a crash
Reply
#7

pawn Код:
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);
    }
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)