Need Help! Small Problem.
#3

Quote:
Originally Posted by Deal-or-die
Посмотреть сообщение
Missing a bracket.
try this
pawn Код:
Clear
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;
}
Thank You But Now Is This 1 Error:

Код:
C:\Documents and Settings\TwisTa\Рабочий стол\BIG CITY LIFE OFFICIAL AMX\gamemodes\BCL.pwn(535) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
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)