Adding Vehicles
#1

I'm very new to scripting I need help adding in Vehicles in a certain spot in my server I'm not sure how to do it.
Reply
#2

Hello!

Use CreateVehicle to create vehicles on a certain spot.
(CreateVehicle = https://sampwiki.blast.hk/wiki/CreateVehicle)
Reply
#3

Enter A Vehicle.
Carry it to the spot u want it to be saved and type /save
then go into documents GTA User Files,then savedPositions then u will see the code
Copy And Paste it into your gamemode under

PHP код:
public OnGameModeInit()

Callback.
Reply
#4

not sure where to put it tho in the script ?
Reply
#5

Put this in the callback OnGameModeInit.
Reply
#6

Quote:
Originally Posted by TheARESguy
Посмотреть сообщение
not sure where to put it tho in the script ?
PHP код:
public OnGameModeInit()
{
 return 
1;

Callback.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)