SA-MP Forums Archive
help meh - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help meh (/showthread.php?tid=277513)



help meh - Frank Biohazard - 18.08.2011

C:\Program Files\Rockstar Samp\server\gamemodes\larp V1.pwn(15533) : warning 209: function "OnDialogResponse" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

i got this warning

but if i remove that line i will have 400 more warnings?

what to do

it is a }


Re: help meh - [MG]Dimi - 18.08.2011

add
PHP код:
return 1
before last } in OnDialogResponse callback