Raised This Month: $ Target: $400
 0% 

[stock] with AMX_ERR_* (solved)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 09-22-2011 , 07:36   [stock] with AMX_ERR_* (solved)
Reply With Quote #1

hi, is it possible to making stock's with AMX_ERR_* ?

Code:
stock get_blabla(id)
{
     if (id > 32)
     {
        log_error(AMX_ERR_BOUNDS, "[bla] out of bounds (%d).", id)
        return -1;
     }
}
thats only a sample..

its for a include file
__________________

Working on:
nothing

Last edited by schmurgel1983; 09-22-2011 at 09:05.
schmurgel1983 is offline
 


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

Forum Jump


All times are GMT -4. The time now is 19:35.


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