Setteam Commands
#6

i try to make it like this .

Код:
CMD:setteam(playerid, params[])
{

    new ID,gTeamID;
    if(sscanf(params, "rd", ID,gTeamID))
        return SendClientMessage(playerid, -1, "/setteam [playerid/PartOfName] [TeamID]");
    if(!IsPlayerConnected(ID))
        return SendClientMessage(playerid, -1, "Offline");

    gTeam[ID] = gTeamID;//Example
    return true;
}
and it got fix
but idk if this works in game :\
Reply


Messages In This Thread
Setteam Commands - by Devilxz97 - 25.05.2012, 13:37
Re: Setteam Commands - by ViniBorn - 25.05.2012, 13:40
Re: Setteam Commands - by Devilxz97 - 25.05.2012, 15:01
Re: Setteam Commands - by ViniBorn - 25.05.2012, 15:07
Re: Setteam Commands - by Devilxz97 - 26.05.2012, 00:38
Re: Setteam Commands - by Devilxz97 - 26.05.2012, 00:40

Forum Jump:


Users browsing this thread: 1 Guest(s)