10.11.2012, 21:58
(
Последний раз редактировалось Patrick; 10.11.2012 в 23:12.
)
I Put It On OnPlayerUpdate
the bug shows that when player connect in game u can see a person not moving but in there screen they are moving but in my screen not moving. that also happens to my players can anyone help me out pls?
Код:
new Float:pHealth, Float:pArmour, Float:vHealth, string[128] ; GetPlayerHealth(playerid, pHealth); GetPlayerArmour(playerid, pArmour); if(AdminLevel[playerid] >= 0) //Do not kick a admin { return 0; } if(pHealth >= 100.1) { SendClientMessage(playerid, COLOR_RED,"You Have Been Auto Kick For Using Health Hack"); format(string, sizeof(string), "%s(%d) Has been Auto-Kicked for using Health Hack", GetName(playerid), playerid); SendClientMessageToAll(COLOR_RED, string); Kick(playerid); } if(pArmour >= 100.1) { SendClientMessage(playerid, COLOR_RED,"You Have Been Auto Kick For Using Armour Hack"); format(string, sizeof(string), "%s(%d) Has been Auto-Kicked for using Armour Hack", GetName(playerid), playerid); SendClientMessageToAll(COLOR_RED, string); Kick(playerid); } if(IsPlayerInAnyVehicle(playerid)) { GetVehicleHealth(GetPlayerVehicleID(playerid), vHealth); if(vHealth >= 1000.1) { SendClientMessage(playerid, COLOR_RED,"You Have Been Auto Kick For Using Vehicle Health Hack"); format(string, sizeof(string), "%s(%d) Has been Auto-Kicked for using Vehicle Health Hack", GetName(playerid), playerid); SendClientMessageToAll(COLOR_RED, string); SetVehicleToRespawn(GetPlayerVehicleID(playerid)); Kick(playerid); }