Help please !
#1

I'm new in the area of ​​Pawn, I build a business and gave an error.

Line error:

pawn Код:
SetTimer("SendMSG", 300000, true)
    return 1;
pawn Код:
The error in this return 1;

Error:

pawn Код:
D:\MOACIR\Desktop\Pawno\GM de Teste\gamemodes\GM.pwn(76) : error 001: expected token: ";", but found "return"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Help me Please !
Reply
#2

Make sure the return 1; isn't indented (like it looks like it is), also the full code would be better... This doesn't show any problems.
Reply
#3

pawn Код:
SetTimer("SendMSG", 300000, true);
return 1;
If you read the error, it literally says that it didn't find what it was looking for - in this case it was a ";" - but it found "return". This means that somewhere before the "return", there should be a ";" - it's not really hard to understand unless you don't understand the English language at all.
Reply
#4

Thanks !!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)