Detect car's nos
#2

Here
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
        if(GetVehicleComponentInSlot(GetPlayerVehicleID(playerid),GetVehicleComponentType(1010)) == 1010)
        {
            SendClientMessage(playerid, -1, "Has Nitro");
        }
    }
    return 1;
}
Reply


Messages In This Thread
Detect car's nos - by iBots - 01.05.2014, 13:47
Re: Detect car's nos - by awsomedude - 01.05.2014, 16:33
Re: Detect car's nos - by Teemo - 01.05.2014, 17:47
Re: Detect car's nos - by Kyance - 01.05.2014, 17:53

Forum Jump:


Users browsing this thread: 1 Guest(s)