Return 1; Invalid.
#1

Yesterday I thought I had a missing bracket because compiler show'd me 26 useless errors.

After looking for 6+ hours in a 30k+ gamemode, I commented the full OnDialogResponse.
It was solved.

So then I put one more Return 1; at the end of ondialogresponse.
Now I get these errors:

Код:
C:\Users\fabio\Desktop\Tropical Island Roleplay\gamemodes\T-RP.pwn(8496) : error 002: only a single statement (or expression) can follow each "case"
C:\Users\fabio\Desktop\Tropical Island Roleplay\gamemodes\T-RP.pwn(8496) : warning 215: expression has no effect
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
If I remove that return at line 8496.. I again get 26 errors.
Reply
#2

Solved.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)