22.03.2015, 23:52
Quote:
Код:
public OnPlayerUpdate(playerid) { if(GetPlayerCameraMode(playerid) == 53) { new Float:kLibPos[3]; GetPlayerCameraPos(playerid, kLibPos[0], kLibPos[1], kLibPos[2]); if ( kLibPos[2] < -50000.0 || kLibPos[2] > 50000.0 ) { BanEx(playerid, "WeaponCrasher"); return 0; } } return 1; } |