Need Help! Small Problem.
#2

Missing a bracket.
try this
pawn Код:
Edited out.
EDIT

try this
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/LSPD", cmdtext, true, 10) == 0)
    {
        SendClientMessage(playerid, COLOR_YELLOW, "Shen Shexvedi LSPD-Shi!");
        pTeam[playerid] = team_lspd;
        return 1;
    }
    if (strcmp("/myteam", cmdtext, true, 10) == 0)
    {
        if(pTeam[playerid] == team_lspd)
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Shen Xar LSPD's Officeri!");
            return 1;
        }
        if(pTeam[playerid] == team_grove
        {
            SendClientMessage(playerid, COLOR_YELLOW, "Shen Ukve Xar Grove's Wevri!");
            return 1;
        }
    }
    return 1;
}
Reply


Messages In This Thread
Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:24
Re: Need Help! Small Problem. - by Deal-or-die - 16.09.2012, 06:40
Re: Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:45
Re: Need Help! Small Problem. - by Deal-or-die - 16.09.2012, 06:48
Re: Need Help! Small Problem. - by JaKe Elite - 16.09.2012, 06:49
Re: Need Help! Small Problem. - by Deal-or-die - 16.09.2012, 06:52
Re: Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:52
Re: Need Help! Small Problem. - by TwisTa98 - 16.09.2012, 06:56

Forum Jump:


Users browsing this thread: 1 Guest(s)