Spawning Vehicles... -
TheNattyShack - 02.01.2014
i need help on how to spawn a vehicle in the game
public OnGameModeInit()
{
// Add a Hydra to the game with a respawn time of 60 seconds
CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);
return 1;
}
You see i found a source but where do i put this in my SAMP folder?!??!?!?
Re: Spawning Vehicles... -
LeGGGeNNdA - 02.01.2014
Post this here
http://forum.sa-mp.com/forumdisplay.php?f=12
Re: Spawning Vehicles... -
Vykintas - 02.01.2014
1. You need to open "pawno" folder and open "pawno.exe"
2. Press button new file
3. Find "public OnGameModeInit()"
4. Place your code "CreateVehicle(520, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1, 60);" inside "{}" after "public OnGameModeInit()"
5. Save file in "gamemodes" folder
6. Compile
7. Open "server.cfg" in server folder
8. after "gamemode" enter your file name without extension (.pwn)
9. save "server.cfg"
10. run the server
Re: Spawning Vehicles... -
Ramon Gonzalez - 06.01.2014
Useful information thanks