OMG! ADDING A TRAIN [HELP NEEDED]
#1

how to add



in my current script plz help
Reply
#2

Search on wiki samp
Look in
public Ongamemodeinit
Reply
#3

You can simply add a train in by AddStaticVehicle
https://sampwiki.blast.hk/wiki/AddStaticVehicle
Example:
You have to set the cords your self.
Quote:

public OnGameModeInit()
{
// Add a train to the game
AddStaticVehicle(538, 2109.1763, 1503.0453, 32.2887, 82.2873, 0, 1);
return 1;
}

Reply
#4

The full script

pawn Код:
public OnGameModeInit()
{
// Add a train to the game
AddStaticVehicle(car id, x, y, z, 82.2873, 0, 1);
//add more trains
return 1;
}
pawn Код:
From crypto
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)