Broken Command?
#1

error 030: compound statement not closed at the end of file (started at line 176)

(174)public OnPlayerCommandText(playerid, cmdtext[])
(175){
(176) if(!strcmp(cmdtext, "/CTAB", true))
(177) {
(17 if (gTeam[playerid] == TEAM_CT)
(179) {
(180) GivePlayerWeapon(playerid, 23, 200);
(181) GivePlayerWeapon(playerid, 31, 120);
(182) } else {
(183) SendClientMessage(playerid, 0xFF0000FFF, "You are not a CounterTerorist.");
(184) }
(185) return 1;
(186)}
(187) return 0;

Please help.
Reply


Messages In This Thread
Broken Command? - by ThePwherer - 01.02.2011, 22:40
Re: Broken Command? - by PeteShag - 01.02.2011, 22:45
Re: Broken Command? - by Lorenc_ - 01.02.2011, 22:48
Re: Broken Command? - by ThePwherer - 01.02.2011, 22:49
Re: Broken Command? - by Unknown123 - 01.02.2011, 23:16

Forum Jump:


Users browsing this thread: 1 Guest(s)