SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 03/03/2013, 01:08 AM   #1
Godzilla8957
Big Clucker
 
Godzilla8957's Avatar
 
Join Date: Mar 2012
Posts: 62
Reputation: 3
Default can someone help

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 
__________________
My Work:
IDLEWOOD FIRE DEPARTMENT
http://forum.sa-mp.com/showthread.php?t=574890
Godzilla8957 is offline   Reply With Quote
Old 03/03/2013, 01:25 AM   #2
=WoR=Varth
High-roller
 
=WoR=Varth's Avatar
 
Join Date: Apr 2011
Location: Indonesia
Posts: 1,988
Reputation: 133
Default Re: can someone help

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)
__________________
(RETIRED)
=WoR=Varth is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.