SA-MP Forums Archive
can someone help - 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)
+--- Thread: can someone help (/showthread.php?tid=419955)



can someone help - Godzilla8957 - 03.03.2013

i put the include sscanf2 in my script for zcmd and i keep getting this warning.. please help me

PHP Code:
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(6416) : warning 209: function "SSCANF_OnPlayerDisconnect" should return a value 



Re: can someone help - =WoR=Varth - 03.03.2013

Code?

Anyway
Quote:
Originally Posted by Biesmen
View Post
Your callback "OnPlayerDisconnect" doesn't return a value.
Make sure every callback ends with either "return true" or "return false"(return 0, return 1)