29.12.2014, 13:50
About crashing people you could use something like (you can add it to the thread if you want):
And inside your command:
About your post, you should change that information about invalid skins, it was fixed long time ago.
Also you can use this way to "crash" players:
As cessil said, it is also a way of kicking players that might be cheaters and you are not sure if they actually are.
Good luck
pawn Код:
stock Crash(playerid)
{
ApplyAnimation(playerid,"System", "M_smkasdf_loop_", 4.0, 1, 0, 0, 0, 0);
ApplyAnimation(playerid,"Operating", "M_sasfloop_", 4.0, 1, 0, 0, 0, 0);
ApplyAnimation(playerid,"Crashed", "sdgsdf_", 4.0, 1, 0, 0, 0, 0);
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);
ApplyAnimation(playerid,"Finish", "M_smkleafds_", 4.0, 1, 0, 0, 0, 0);
}
pawn Код:
Crash(playerid);
Also you can use this way to "crash" players:
Quote:
This is fairly simple thing to achieve, so i did not include code.
Basically, sometimes you want a player to reconnect - say if a player pauses and you wish to kick him & have him reconnect when he returns, or for various other reasons, so this is how it works: 1. In code, rcon ban the ip, but DON'T KICK the player 2. The player will timeout, in onplayerdisconnect unban the ip that was banned for him - remember that getplayerip doesnt work in onplayerdisconnect, so store the value elsewhere. 3. Player's client will lose connection and attempt to auto-reconnect afterwards. |
Good luck