please help
#1

I have a problem with this base system, when someone types /base when they get teleported they cant see anything

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);
            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;
}
And I think the problem is T_ATT, T_DEF, because they dont spawn as those. They spawn with other ranks, but it should set their team to that, how can I do it?

I also wanna the spawns random, so its 50 chance to join ATT/DEF. It should change their team and give their weapon when they type /base, please help, I am gettign tired of this now -.-
Reply


Messages In This Thread
please help - by xir - 06.04.2011, 10:36
Re: please help - by [BKR]LUCAGRABACR - 08.04.2011, 11:17
Re: please help - by xir - 08.04.2011, 11:43
Re: please help - by BizzyD - 08.04.2011, 11:50
Re: please help - by xir - 08.04.2011, 11:57
Re: please help - by xir - 08.04.2011, 16:34
AW: please help - by Nero_3D - 08.04.2011, 16:44
Re: please help - by xir - 08.04.2011, 16:54
AW: please help - by Nero_3D - 08.04.2011, 17:38
Re: please help - by xir - 08.04.2011, 19:11

Forum Jump:


Users browsing this thread: 4 Guest(s)