Car system probs..
#1

Okay i enter a car and it doesnt say any messages..

pawn Код:
new string[128];
for(new c = 0; c < sizeof(Cars); c++)
    {
    if(vehicleid == Cars[c][cCarID] && (Cars[c][cOwner] == 1))
    {
  format(string,sizeof(string),"[ ! ] ID : %d ' %s ' Bought by : %s",Cars[c][cCarID],Cars[c][cDescription],Cars[c][cOwner]);
  SendClientMessage(playerid,COLOR_GREY,string);
  }
  return 1;
  }
cCarID = 0 for first car and 1 for second :S it makes cars with CreateVehicle not AddStaticVehicle. What is problem?

EDIT : This is under OnPlayerEnterVehicle
Reply


Messages In This Thread
Car system probs.. - by coole210 - 20.07.2009, 03:19
Re: Car system probs.. - by yezizhu - 20.07.2009, 03:28
Re: Car system probs.. - by coole210 - 20.07.2009, 03:42
Re: Car system probs.. - by yezizhu - 20.07.2009, 03:58
Re: Car system probs.. - by XPlatform - 20.07.2009, 04:17
Re: Car system probs.. - by coole210 - 20.07.2009, 16:58
Re: Car system probs.. - by coole210 - 21.07.2009, 18:18

Forum Jump:


Users browsing this thread: 1 Guest(s)