Код: Выделить всё
public OnPlayerUpdate(playerid)
{
if( GetPlayerCameraMode ( playerid ) == 53 )
{
new Float: cam_pos ;
GetPlayerCameraPos ( playerid, cam_pos, cam_pos, cam_pos ) ;
if ( floatabs ( cam_pos ) > 50000 ) return Kick ( playerid ),false;
}
return 1;
}