Help cant fix this
#1

Hi there
So my problem is i cant solve this i keep getting this error

Код:
.......\Teleports.pwn(124) : error 030: compound statement not closed at the end of file (started at line 58)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

1 Error.
and here line 55/64

Код:
55.   public OnPlayerCommandText(playerid,cmdtext[])
56. 
57.   {
58. 		    if (!strcmp("/UTeles",cmdtext,true))
59. 		    {
60.  		    SendClientMessage(playerid, 0x99FFFFAA, "hello");
61.                 SendClientMessage(playerid, 0x99FFFFAA, "hello")
62.                 SendClientMessage(playerid, 0x99FFFFAA, "hello")
63.                 return 1;
64. 		    }
and line 124 dond exists.. but this are the last 4 lines

Код:
 
119.         return 1;
120.         }
121.	     return 0;
122. }
what did i do wrong ?
Reply
#2

Seriosly what's about adding some semicolons after those funcs?

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(!strcmp("/UTeles", cmdtext, true))
    {
        SendClientMessage(playerid, 0x99FFFFAA, "hello");
        SendClientMessage(playerid, 0x99FFFFAA, "hello");
        SendClientMessage(playerid, 0x99FFFFAA, "hello");
        return 1;
    }
    return 0;
}
(),-* /facepalm
Reply
#3

lol thx didnt saw that...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)