blobby
11-16-2007, 10:21 AM
Hey guys and girls i was just tring to knock a quick friendlyfire plugin up for my clan so they can turn it on and off as they please all was well up to there..
It compiled the first time no problems but the second time after i had added the say /ff commands nothingg it wont compile but on the compiler it says the following error
/home/groups/amxmodx/tmp3/phpytixJq.sma(26) : error 017: undefined symbol "strtonum
So i looked through my code and found that part as shown here
new ff_s[2]
read_argv(1,ff_s,2)
new ff = strtonum(ff_s)
But the code inspector on amx studio says there is nothing wrong with that piece of code so any ways i will attach the plugin sma file below and if one of you starts sould have a look at this and tell me how to fix the error :p
Also my brother has touched my pc i think and on all my plugins if i put my plugin_init at the top of my page and then save it, it puts it at the bottom like old style code any ideas on that one 2
Regards and thanks for your time
blobby
It compiled the first time no problems but the second time after i had added the say /ff commands nothingg it wont compile but on the compiler it says the following error
/home/groups/amxmodx/tmp3/phpytixJq.sma(26) : error 017: undefined symbol "strtonum
So i looked through my code and found that part as shown here
new ff_s[2]
read_argv(1,ff_s,2)
new ff = strtonum(ff_s)
But the code inspector on amx studio says there is nothing wrong with that piece of code so any ways i will attach the plugin sma file below and if one of you starts sould have a look at this and tell me how to fix the error :p
Also my brother has touched my pc i think and on all my plugins if i put my plugin_init at the top of my page and then save it, it puts it at the bottom like old style code any ideas on that one 2
Regards and thanks for your time
blobby