Raised This Month: $ Target: $400
 0% 

Skin shop just for Humans..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Myshu
Junior Member
Join Date: Jul 2017
Old 01-29-2020 , 18:15   Re: Skin shop just for Humans..
Reply With Quote #5

When i add this : if(zp_get_user_zombie(id)) return i get this errors.

\c_zombie.sma(11 : warning 209: function "SkinSHOP" should return a value
\c_zombie.sma(120) : error 078: function uses both "return" and "return <value>"
\c_zombie.sma(123) : warning 225: unreachable code
\c_zombie.sma(146) : error 078: function uses both "return" and "return <value>"

But when i add if(zp_get_user_zombie(id)) without "return" i can compile it, is there a problem when "return is missin" or this: return PLUGIN_HANDLED will work as return?
Myshu is offline
 



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

Forum Jump


All times are GMT -4. The time now is 02:44.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode