01.02.2011, 22:40
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.
(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.