08.04.2011, 11:50
Try this
pawn Код:
COMMAND:base(playerid, params[])
{
if(BaseOn == 0) return SendClientMessage(playerid, Red, "There is no base in progress, or the base has already started");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
SetPlayerInterior(i, 15);
SetPlayerPos(i,2215.454833, -1147.475585, 1025.796875);
//SetSpawnInfo(i, T_ATT, 46, 2221.2100,-1148.9974,1025.7969,3.0111, 24, 500, 31, 500, 34, 500);
//SetSpawnInfo(i, T_DEF, 46, 2193.1692,-1143.9407,1029.7969,180.0461, 24, 500, 31, 500, 34, 500);
GivePlayerWeapon(i, 24, 500);
GivePlayerWeapon(i, 31, 500);
GivePlayerWeapon(i, 34, 500);
}
}
return 1;
}