28.11.2012, 20:34
Thanks but i got a little problem here..
In my server you spawn trapped in a sphere, To get in game you must choose a team by typing the command..
When they spawn (not in a team) i want them to spawn on a bike, But when they select a team i want the bike to be destroyed.. Would the script look a little like this?
In my server you spawn trapped in a sphere, To get in game you must choose a team by typing the command..
When they spawn (not in a team) i want them to spawn on a bike, But when they select a team i want the bike to be destroyed.. Would the script look a little like this?
pawn Код:
public OnGameModeInit()
{
CreateVehicle(522,2324, 1283, 98, 1, 146, 146, 60);
public OnPlayerSpawn()
{
PutPlayerInVehcile(playerid,526,0);
// Loop to check if players team = 0 if it is <= to 1 then it will destroy the vehicle?
for (pTeam0; i<=1; i++)
{
new currentveh;
currentveh = GetPlayerVehicleID(playerid);
DestroyVehicle(currentveh);
}