SA-MP Forums Archive
Car Ownership - 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: Car Ownership (/showthread.php?tid=48272)



Car Ownership - Pawel_Shark - 23.08.2008

Ok this is A CarOwnership http://pastebin.com/f7dbe3102 and the Scriptfiel for it looks like this,
Quote:

422,2135.418701,-1128.477294,25.593200,110.959999,1,1,Pawel_Morgan, Bobcat,50000,,1,0
543,2136.328613,-1132.250976,25.511566,110.258712,1,1,Dealership,Sa dler,50000,,0,0
554,2135.458496,-1136.625488,25.735660,107.892265,1,1,Dealership,Yo semite,50000,,0,0
579,2135.744140,-1140.979614,25.173116,111.251762,1,1,Dealership,Hu ntley,50000,,0,0
400,2136.281738,-1144.528686,24.955900,109.024398,1,1,Dealership,La ndstalker,50000,,0,0
500,2136.882568,-1147.977294,24.593900,104.355201,1,1,Dealership,Me sa,50000,,0,0
489,2122.037597,-1157.092285,24.256799,356.001007,1,1,Dealership,Ra ncher,50000,,0,0
445,2117.238281,-1156.901367,24.194599,337.440185,1,1,Dealership,Ad miral,50000,,0,0
492,2117.775146,-1148.868041,24.202800,331.458801,1,1,Dealership,Gr eenwood,50000,,0,0
410,2117.998535,-1141.823730,24.537799,325.724914,1,1,Dealership,Ma nana,50000,,0,0
600,2118.116210,-1135.639526,24.913400,326.202606,1,1,Dealership,Pi cador,50000,,0,0
496,2118.714111,-1129.351440,25.015199,318.569488,1,1,Dealership,Bl ista Compact,50000,,0,0

Why all the cars are locked ??


Re: Car Ownership - lsrp - 23.08.2008

i am sure you didnt copy it right?


Re: Car Ownership - Andron - 11.11.2008

how to add buyable cars to script ?


Re: Car Ownership - [eLg]Timmy - 11.11.2008

pawn Код:
enum cInfo
{
    cModel,
    Float:cLocationx,
    Float:cLocationy,
    Float:cLocationz,
    Float:cAngle,
    cColorOne,
    cColorTwo,
    cOwner[MAX_PLAYER_NAME],
    cDescription[MAX_PLAYER_NAME],
    cValue,
    cLicense,
    cRegistration,
    cOwned,
    cLock,
    ownedvehicle,
};
new CarInfo[12][cInfo];
Change the "CarInfo[12][cInfo]". E.g. if you want 30 Cars change 12 to 30 ("CarInfo[30][cInfo]").


Re: Car Ownership - Andron - 11.11.2008

Quote:
Originally Posted by Timmeyz
pawn Код:
enum cInfo
{
    cModel,
    Float:cLocationx,
    Float:cLocationy,
    Float:cLocationz,
    Float:cAngle,
    cColorOne,
    cColorTwo,
    cOwner[MAX_PLAYER_NAME],
    cDescription[MAX_PLAYER_NAME],
    cValue,
    cLicense,
    cRegistration,
    cOwned,
    cLock,
    ownedvehicle,
};
new CarInfo[12][cInfo];
Change the "CarInfo[12][cInfo]". E.g. if you want 30 Cars change 12 to 30 ("CarInfo[30][cInfo]").
Thanks for that but I dont have buyable cars at all .. Zero


Re: Car Ownership - MenaceX^ - 11.11.2008

Well, I used this Car Owner Ship too, You right, All the vehicles are lock.


Re: Car Ownership - vection - 11.11.2008

bacause you use Godfather GM, this FS! the first 30 cars are locked because godfather house.


Re: Car Ownership - speedy199 - 24.03.2009

Quote:
Originally Posted by vection
bacause you use Godfather GM, this FS! the first 30 cars are locked because godfather house.
How to do unlock to all car in godfather GM

Who can help me. Please.................