I dont want to get into scripting.
#1

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

Reply
#2

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

Under OnGameModeInit in your script.
Reply
#3

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?
Reply
#4

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
Reply
#5

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

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
Reply
#7

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

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

I belive so?
Reply
#10

You just tried to compile them 2 lines?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)