*** Terrible Title Removed
#6

look, I haven't told you, when you want to check vehicles id in OnPlayerStateChange, you need to do vehicleid = GetPlayerVehicleID(playerid)

pawn Code:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
     new vehicleid;
     if(newstate == PLAYER_STATE_DRIVER){
          vehicleid = GetPlayerVehicleID(playerid);
          // and then you loop through grotti cars :D
     }
Reply


Messages In This Thread
*** Terrible Title Removed - by PAWNO-ANFДNGER - 26.10.2012, 13:09
Re: Problem-- - by CoaPsyFactor - 26.10.2012, 13:11
AW: *** Terrible Title Removed - by PAWNO-ANFДNGER - 26.10.2012, 13:24
Re: Problem with code, Please help - by CoaPsyFactor - 26.10.2012, 13:26
AW: Problem with code, Please help - by PAWNO-ANFДNGER - 26.10.2012, 13:28
Re: Problem with code, Please help - by CoaPsyFactor - 26.10.2012, 13:30
AW: *** Terrible Title Removed - by PAWNO-ANFДNGER - 26.10.2012, 13:33
Re: *** Terrible Title Removed - by CoaPsyFactor - 26.10.2012, 14:52

Forum Jump:


Users browsing this thread: 3 Guest(s)