[Ayuda] Stay within the world boundries
#2

Eso pasa porque no tienes bien las coordenadas, se salen del mapa del GTA SA.

Intenta usar esto:

pawn Код:
public OnPlayerUpdate( playerid )
{
    static
        Float: X,   Float: Y,   Float: Z
    ;
    GetPlayerPos( playerid, X, Y, Z );

    if( X >= 99999.0 || Y >= 99999.0 || Z >= 99999.0 || X <= -99999.0 || Y <= -99999.0 || Z <= -99999.0 ) {
        SendClientMessage( playerid, 0xa9c4e4ff, "Warning: Estas fuera del mapa!!");
    }
        return 1;
}
si te sale es por serб por eso.
Reply


Messages In This Thread
[Ayuda] Stay within the world boundries - by AaronX - 27.08.2016, 18:25
Respuesta: [Ayuda] Stay within the world boundries - by Zume - 27.08.2016, 21:37
Respuesta: [Ayuda] Stay within the world boundries - by AaronX - 28.08.2016, 06:54
Respuesta: [Ayuda] Stay within the world boundries - by OTACON - 28.08.2016, 10:08

Forum Jump:


Users browsing this thread: 1 Guest(s)