SA-MP Forums Archive
[Help] Max Cars - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help] Max Cars (/showthread.php?tid=166281)



[Help] Max Buyable Cars - jason121 - 08.08.2010

I have Ravens RP Latest version
I want to know how i can make the max cars higher

thank's.


Re: [Help] Max Cars - Anthonyx3' - 08.08.2010

pawn Код:
new CarInfo[870][cInfo];
If im correct, 870 is the amount, just increase the number


Re: [Help] Max Cars - jason121 - 08.08.2010

Yes i know anthony But i can only buy 2 cars and i want to buy more


Re: [Help] Max Cars - jason121 - 08.08.2010

Any help


Re: [Help] Max Cars - jason121 - 08.08.2010

??


Re: [Help] Max Cars - Ritchie999 - 08.08.2010

I found this

pawn Код:
if(PlayerInfo[playerid][pPcarkey] != 999)
                {
                    strmid(CarInfo[carkey1][cOwner],string,0,strlen(string),255);
                    OnPropUpdate(4);
                    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* First Vehicle ownership changed successfuly!");
                }
                if(PlayerInfo[playerid][pPcarkey2] != 999)
                {
                    strmid(CarInfo[carkey2][cOwner],string,0,strlen(string),255);
                    OnPropUpdate(4);
                    OnPropTextdrawUpdate(1, housekey);
                    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Second Vehicle ownership changed successfuly!");
                }
so just add

pawn Код:
if(PlayerInfo[playerid][pPcarkey3] != 999)
                {
                    strmid(CarInfo[carkey3][cOwner],string,0,strlen(string),255);
                    OnPropUpdate(4);
                    OnPropTextdrawUpdate(2, housekey);
                    SendClientMessage(playerid, TEAM_GROVE_COLOR,"* Second Vehicle ownership changed successfuly!");
                }
below it, But you'll have to go through the entire script for "pCarKey" and everyone you see add ANOTHER line with the exact same coding but just put [pPcarkey3] instead..