how can i do this
#8

Try this
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER) // Player entered a vehicle as a driver
    {
        new vehicleid = GetPlayerVehicleID(playerid);
      //message here
    }
    return 1;
}
Reply


Messages In This Thread
how can i do this - by ZBits - 24.08.2012, 02:09
Re: how can i do this - by Lordzy - 24.08.2012, 02:17
Re: how can i do this - by ZBits - 24.08.2012, 02:19
Respuesta: how can i do this - by [DOG]irinel1996 - 24.08.2012, 02:20
Re: how can i do this - by ZBits - 24.08.2012, 02:24
Respuesta: how can i do this - by [DOG]irinel1996 - 24.08.2012, 02:30
Re: how can i do this - by ZBits - 24.08.2012, 02:34
Re: how can i do this - by Lordzy - 24.08.2012, 02:35
Re: how can i do this - by ZBits - 24.08.2012, 03:19
Re: how can i do this - by castlecity - 24.08.2012, 03:21

Forum Jump:


Users browsing this thread: 1 Guest(s)