SA-MP Forums Archive
How to add more cars (Raven's Script) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How to add more cars (Raven's Script) (/showthread.php?tid=344480)



How to add more cars (Raven's Script) - McCurdy - 21.05.2012

Hi all, i have problem with this words "You already own Two cars!"...

I search in ****** and try to fix that and i fail...

and i have been edit my script like this...

Quote:

if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { vehid = PlayerInfo[playerid][pPcarkey]; }
else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { vehid = PlayerInfo[playerid][pPcarkey2]; }
else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey3]) { vehid = PlayerInfo[playerid][pPcarkey3]; }

and that is not working...somebody please help me...(sorry my bad english)


Re: How to add more cars (Raven's Script) - McCurdy - 22.05.2012

somebody can help me please..


Re: How to add more cars (Raven's Script) - JAMMIEISFTW - 22.05.2012

I think open the gamemode in MTA should work...

Oh at the top of ravens script change the define for this

#define MAX_OWNEDCARS 2
Its something like ownedcars but il check


NVM, wtf, theys no define, that script is kinda un sorted.


Re: How to add more cars (Raven's Script) - McCurdy - 22.05.2012

i'm not see code #define MAX_OWNEDCARS 2 in that gamemode...

any body can help?