Raised This Month: $ Target: $400
 0% 

[stock] with AMX_ERR_* (solved)


Post New Thread Reply   
 
Thread Tools Display Modes
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
jim_yang
Veteran Member
Join Date: Aug 2006
Old 09-22-2011 , 08:53   Re: [stock] with AMX_ERR_*
Reply With Quote #2

you have already got your answer
http://www.amxmodx.org/funcwiki.php?go=func&id=823
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 09-22-2011 , 09:05   Re: [stock] with AMX_ERR_* (solved)
Reply With Quote #3

thanks
__________________

Working on:
nothing
schmurgel1983 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 09-22-2011 , 13:26   Re: [stock] with AMX_ERR_* (solved)
Reply With Quote #4

If you are not in a dynamic native, consider http://www.amxmodx.org/funcwiki.php?...bort&go=search
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
schmurgel1983
Veteran Member
Join Date: Aug 2006
Location: Germany
Old 09-22-2011 , 18:05   Re: [stock] with AMX_ERR_* (solved)
Reply With Quote #5

Thanks Connor, solved
__________________

Working on:
nothing
schmurgel1983 is offline
Reply



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