else if(cmd == "startbase")
{
if(!text) MessagePlayer("/startbase <id>",player);
else
{
if(text.tointeger() == 12)
{
while(local i < GetMaxPlayers()+1)
{
if(FindPlayer(i))
{
if(FindPlayer(i).Class == 0)
{
FindPlayer(i).Skin = 22;
player.Pos = Vector(899.7,-442.9,19.37);
FindPlayer(i).SetWeapon(5,100000000);
FindPlayer(i).SetWeapon(3,100000000);
}
if(FindPlayer(i).Class == 1)
{
FindPlayer(i).Skin = 22;
FindPlayer(i).Pos = Vector(891.7,-434.6,19.37);
FindPlayer(i).SetWeapon(5,100000000);
FindPlayer(i).SetWeapon(3,100000000);
}
}
i++;
}
}
else MessagePlayer("only base id 12 is loaded :/",player);
}
}
else if(cmd == "remallveh")
{
local i = 0;
while(i < GetVehicleCount()+1)
{
if(FindVehicle(i))
{
FindVehicle(i).Remove();
}
i++;
}
}
Not tested or anything