[HELP]Car Dealership system!!!
#5

I see you have the "owned" at your enumaration but you dont use it at OnPlayerStateChange
It should be like:


pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
   new ID = GetPlayerVehicleID(playerid);
   if( CarInfo[ID][Owned] == 0 )
   {
        //...Cars for Sale code
   }
   else
   {
      //... Owned Cars code
   }
return 1;
}
Reply


Messages In This Thread
[HELP]Car Dealership system!!! - by Cjgogo - 02.08.2011, 15:30
AW: [HELP]Car Dealership system!!! - by Drebin - 02.08.2011, 16:16
Re: [HELP]Car Dealership system!!! - by Cjgogo - 03.08.2011, 09:53
Re: [HELP]Car Dealership system!!! - by Cjgogo - 03.08.2011, 16:10
Re: [HELP]Car Dealership system!!! - by TouR - 03.08.2011, 17:06
Re: [HELP]Car Dealership system!!! - by Cjgogo - 04.08.2011, 09:30
Re: [HELP]Car Dealership system!!! - by Cjgogo - 05.08.2011, 15:19

Forum Jump:


Users browsing this thread: 1 Guest(s)