SA-MP Forums Archive
GM help - 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: GM help (/showthread.php?tid=347130)



GM help - The Eagle - 31.05.2012

I downloaded a GM from this forum that i liked and im translating it.It's RP but i want to change something at it.

There are cars that are free and i want to put the /rent command on them and take some out and i got no ideea how to do this

Im new to scripting and learning so please help.

If u want to PM me with you're Email,Skype etc... to offer me further support it will be awesome

With Respect !
The Eagle


Re: GM help - The Eagle - 31.05.2012

i have Raven's Roleplay 0.3c i updated it to 0.3e ... I want to remove some cars,not something from the cars

any car i go on i can drive,even the faction ones


Re: GM help - dannyk0ed - 31.05.2012

there should be something like this in your script
pawn Код:
new rentcar[23]; or something like that xD
rentcar[0] =
-
rentcar[23] =
It is your job to find the car under ongamemodeint, and add infront of it
pawn Код:
rentcar[24] =(like i said i dont know the number of rentcars, you can modity that0
Then when you login and go to that car, it should be rentable


Re: GM help - The Eagle - 31.05.2012

what about the faction cars? anybody can drive them like the PD,Mafia cars.


Re: GM help - dannyk0ed - 31.05.2012

pawn Код:
copcar[1] =
I dont know the others



Re: GM help - The Eagle - 31.05.2012

ok found this stuff

copcar[0] = AddStaticVehicleEx(599,616.1244,-601.7048,17.4214,271.5325, -1, -1, 30000); // Cop cruiser (Dillimore) 16
vicecar[0] = AddStaticVehicleEx(426,158.4755,-1751.1315,4.6460,1.3559,0,0, 30000); // La Vice Premier 17
vicecar[1] = AddStaticVehicleEx(426,158.3176,-1758.2914,4.4283,356.8665,0,0, 30000); // La Vice Premier 18

etc... what do i change ?


Re: GM help - dannyk0ed - 31.05.2012

If you want the cars to be faction owned, then put copcar[next number] = in front of a car
or other faction cars


Re: GM help - The Eagle - 31.05.2012

copcar[0] = AddStaticVehicleEx(599,616.1244,-601.7048,17.4214,271.5325, -1, -1, 30000); // Cop cruiser (Dillimore) 16
vicecar[1] = AddStaticVehicleEx(426,158.4755,-1751.1315,4.6460,1.3559,0,0, 30000); // La Vice Premier 17
vicecar[2] = AddStaticVehicleEx(426,158.3176,-1758.2914,4.4283,356.8665,0,0, 30000); // La Vice Premier 18

or

copcar[next number] = AddStaticVehicleEx(599,616.1244,-601.7048,17.4214,271.5325, -1, -1, 30000); // Cop cruiser (Dillimore) 16
vicecar[next number] = AddStaticVehicleEx(426,158.4755,-1751.1315,4.6460,1.3559,0,0, 30000); // La Vice Premier 17
vicecar[next number] = AddStaticVehicleEx(426,158.3176,-1758.2914,4.4283,356.8665,0,0, 30000); // La Vice Premier 18

Sorry for the noob questions