Posts: 89
Threads: 40
Joined: Aug 2012
Quote:
Originally Posted by Deal-or-die
Missing a bracket.
try this
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.