SA-MP Forums Archive
I dont want to get into scripting. - 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: I dont want to get into scripting. (/showthread.php?tid=63996)



I dont want to get into scripting. - aidiewright - 01.02.2009

All i want to do is add a car http://weedarr.wikidot.com/high-preformance-sparts-cars
(Turismo - 451)

here AddPlayerClass(265,-1325.5452,-388.7699,14.1484,296.2585,0,0,0,0,0,0);


Anyone will to help?? i dont know anything about scripting btw, i have only just learnt html lol!


aidiewright




Re: I dont want to get into scripting. - SpiderPork - 01.02.2009

AddStaticVehicle(451, -1325.5452, -388.7699, 14.1484, 296.2585, [color 1], [color 2]);

Under OnGameModeInit in your script.


Re: I dont want to get into scripting. - aidiewright - 01.02.2009

Could i just use that in the script, make a new script complie it add it to my server?


Edit:and what do i do whith color 1 and color 2?



Re: I dont want to get into scripting. - LibertyWorld - 01.02.2009

Quote:
Originally Posted by aidiewright
Edit:and what do i do whith color 1 and color 2?
For the color 1 and color 2 put numbers

Use this to get the numbers you want: https://sampwiki.blast.hk/wiki/Image:Carcolors.jpg


Re: I dont want to get into scripting. - aidiewright - 01.02.2009

Thanks.. i tried just compiling
Код:
#include <a_samp>
#include <dini>
at that did not work?


Re: I dont want to get into scripting. - LibertyWorld - 01.02.2009

Quote:
Originally Posted by aidiewright
Thanks.. i tried just compiling
Код:
#include <a_samp>
#include <dini>
at that did not work?
You tried to compile what


Re: I dont want to get into scripting. - aidiewright - 01.02.2009

Just that to see if the compiler would work and it didnt


Re: I dont want to get into scripting. - LibertyWorld - 01.02.2009

Quote:
Originally Posted by aidiewright
Just that to see if the compiler would work and it didnt
So your problem is the pawn compiler?


Re: I dont want to get into scripting. - aidiewright - 01.02.2009

I belive so?


Re: I dont want to get into scripting. - ICECOLDKILLAK8 - 01.02.2009

You just tried to compile them 2 lines?