12.07.2012, 23:51
Lorenc_
Good Work, i created similar. Look:
http://forum.sa-mp.com/showpost.php?...9&postcount=23
:P
This back the player in "old" position
Good Work, i created similar. Look:
http://forum.sa-mp.com/showpost.php?...9&postcount=23
:P
pawn Code:
static Float:x, Float:y,Float:z;
GetPlayerPos(playerid, x, y, z);
if(x > 0xdbb9f && y > 0xdbb9f && z > 0xdbb9f) {
SendClientMessage(playerid, -1, "[Suspeita] Hacking de bugar jogadores detectado");
SetPlayerPos(playerid, GetPVarFloat(playerid,"xposSet"), GetPVarFloat(playerid,"yposSet"), GetPVarFloat(playerid,"zposSet"));
}
else {
SetPVarFloat(playerid,"xposSet", x);
SetPVarFloat(playerid,"yposSet", y);
SetPVarFloat(playerid,"zposSet", z);
}
This back the player in "old" position
