Please help
#1

Hello!
Can someone tell me how to make teams and some commands specific for them just a small team and one command.Help would be appreciated.
Reply
#2

Anyone?okay just give me a link that can helpme out please?
Reply
#3

If you want to make class i suggest you READING Thishere's just an example for Cmds only for specific Teams.
OnPlayerCommandText
e.g the cmd is
pawn Код:
if(strcmp("/kill",cmdtext,5) == 0)
{
    if(gTeam[playerid] = TEAM_NAME;
    {
        SendClientMessage(playerid,-1, "Message");
    }
    else
    {
        SendClientMessage(playerid,-1,"This cmd is for TEAM_NAME only");
    }
    return 1;
}
Reply
#4

Hey do we have to define gTeam and the Team_Name.
I made a cmd out of this but it is giving me errors!Please help.
The errors are the expected token ; but found ] and undefined symbol gTeam
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)