SA-MP Forums Archive
Help with 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 with cars. (/showthread.php?tid=233324)



Help with cars. - GBLTeam - 01.03.2011

I want to add cars only for one org ...

//KGB
AddStaticVehicleEx(470,-928.83110000,-546.09480000,25.95040000,3.33760000,-1,-1,15); //Patriot
AddStaticVehicleEx(470,-932.58120000,-546.00650000,25.99430000,6.28800000,-1,-1,15); //Patriot
AddStaticVehicleEx(470,-947.61160000,-546.29790000,25.95160000,355.88090000,-1,-1,15); //Patriot
AddStaticVehicleEx(470,-950.65860000,-546.07070000,25.95510000,352.76000000,-1,-1,15); //Patriot

I add cars btw how to add only for org id 13 ?
Because when i add only cars and enter says to buy it?


Re: Help with cars. - LZLo - 01.03.2011

new Patriot1 = AddStaticVehicleEx(470,-928.83110000,-546.09480000,25.95040000,3.33760000,-1,-1,15); //Patriot
LinkVehicleToInterior(Patriot1,13);

if it's an interior


Re: Help with cars. - GBLTeam - 02.03.2011

Quote:
Originally Posted by LZLo
Посмотреть сообщение
new Patriot1 = AddStaticVehicleEx(470,-928.83110000,-546.09480000,25.95040000,3.33760000,-1,-1,15); //Patriot
LinkVehicleToInterior(Patriot1,13);

if it's an interior
Man i need to add cars who can drive only ARMY faction/org ?


Re: Help with cars. - GBLTeam - 04.03.2011

anyone to help me?


Re: Help with cars. - AK47317 - 04.03.2011

you gotta use GetPlayerSkin under the OnPlayerEnterVehicle callbacks


Re: Help with cars. - Steven82 - 05.03.2011

Quote:
Originally Posted by AK47317
Посмотреть сообщение
you gotta use GetPlayerSkin under the OnPlayerEnterVehicle callbacks
No he doesn't, obviously he is using a gF edit or another edit of a script.


Re: Help with cars. - GBLTeam - 05.03.2011

Quote:
Originally Posted by Steven82
Посмотреть сообщение
No he doesn't, obviously he is using a gF edit or another edit of a script.
hah fixed..

Btw im using LA:RP...