Will this anti-car jack work?.. Cant test it
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if (!ispassenger)
    {
        for(new i = 0; i < MAX_PLAYERS; i++)
        {
            if (IsPlayerInVehicle(i,vehicleid) && i != playerid)
            {
                new Float:X, Float:Y, Float:Z;
                GetPlayerPos(playerid,X,Y,Z);
                SetPlayerPos(playerid,X,Y,Z+5);
            }
        }
    }
    return 1;
}
Reply


Messages In This Thread
Will this anti-car jack work?.. Cant test it - by admantis - 05.01.2011, 02:28
Respuesta: Will this anti-car jack work?.. Cant test it - by ipsBruno - 05.01.2011, 02:34
Re: Respuesta: Will this anti-car jack work?.. Cant test it - by admantis - 05.01.2011, 02:35
Respuesta: Will this anti-car jack work?.. Cant test it - by ipsBruno - 05.01.2011, 02:42
Re: Will this anti-car jack work?.. Cant test it - by Krx17 - 05.01.2011, 02:47
Re: Will this anti-car jack work?.. Cant test it - by John_F - 05.01.2011, 02:50

Forum Jump:


Users browsing this thread: 1 Guest(s)