Working on my script need help
#1

Hello.
I have decided i want to make a derby server but the problem is i dont know how to start :P
it may sound stupid but i know how to script the rest i just dont know how to put the players in vehicles at the start.

As you would of guessed. i need it random spawn. all i have at the moment is
[QUOTE]public OnPlayerSpawn(playerid)
{
SetPlayerInterior(playerid,0);
TogglePlayerClock(playerid,0);
SetPlayerPos(playerid, 1899.1285,-1773.3877,25.7911);
PutPlayerInVehicle(playerid, 401, 1);

return 1;
}/QUOTE]

1. It doesnt work
2. Its not random spawn.

If you could help me i would really appritiate it. Thanks!
Reply
#2

[Tutorial] Random spawns
Reply
#3

Now i have the spawn. How do i get the player to spawn in a car?
Reply
#4

Create a variable and create the vehicles. Then put player in the vehicle by a command.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)