18.08.2012, 15:11
So basically I tried to make this:
When a player joins, the script creates a vehicle for him at one of these locations:
X1,X1,X1
X2,X2,X2
or
X3,X3,X3
And he joins automatically at that location in that vehicle.
Ive tried it like this, I put this onder OnGameModeInit:
And I have this:
But yet I don't know how I can make it work ;/
When a player joins, the script creates a vehicle for him at one of these locations:
X1,X1,X1
X2,X2,X2
or
X3,X3,X3
And he joins automatically at that location in that vehicle.
Ive tried it like this, I put this onder OnGameModeInit:
PHP код:
AddStaticVehicleEx(411,3781.69995117,-1922.30004883,23.79999924,189.99755859,43,1,15);
PHP код:
public OnPlayerSpawn(playerid)
{
PutPlayerInVehicle(playerid, 1, 0);
return 1;
}