30.11.2011, 16:10
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!
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!