15.04.2015, 16:31
Код:
public OnPlayerSpawn(playerid) { if(!IsPlayerConnectedEx(playerid) && !IsPlayerNPC(playerid)) { SendInfoMessage(playerid, 0, "3", "You have been automatically expelled from the server you do not correctly enter your password."); Kick(playerid); return 1; } if(GetPVarInt(playerid, "Register") == 1) { if(PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid, 29); PlayerInfo[playerid][pClothes] = GetPlayerSkin(playerid); } else if(PlayerInfo[playerid][pSex] == 2) { SetPlayerSkin(playerid, 93); PlayerInfo[playerid][pClothes] = GetPlayerSkin(playerid); } if(PlayerInfo[playerid][pCity] == 1) { SetPosEx(playerid, 1449.5273,-2286.9753,13.5469,94.1927,0,0); } else if(PlayerInfo[playerid][pCity] == 2) { SetPosEx(playerid, -1968.9153,137.7357,27.6875,88.9782,0,0); } SetPVarInt(playerid, "Register", 0); return 1; } CancelSelectTextDraw(playerid); StopAudioStreamForPlayer(playerid); SetPlayerStats(playerid); SetPlayerWantedLevel(playerid, PlayerInfo[playerid][pWantedLevel]); SetPlayerSpawn(playerid); SetPlayerWeapons(playerid); return 1; }
EDIT:
Warrnings.
Код:
Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3846) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec Warning: client exceeded 'ackslimit' 127.0.0.1:63000 (3963) Limit: 3000/sec