fix this plz
hey. i tryed to make a plugin for amxx. when i compile i get some errors. can some1 fix this??
Code:
|
Code:
one problem is that u forgot this # infront of include <amxmodx> |
thx. i forgot about that. and i had 1 more prob with 2 bracets but i fixed it. thx for ur help
|
Maarik next time supply the errors and let us know a little about the plugin.
|
new shreg = get_cvar_num(amx_shreg)
if (shreg=0){ Should Be: new shreg = get_cvar_num("amx_shreg") if (shreg==0){ Also, set_cvar_num(sv_superheros, 0) Should be: set_cvar_num("sv_superheros", 0) And, public shero Should be: public shero(id) And you have too many Curly-Brackets (proper indenting will help you avoid that), revised version (not tested): Code:
I hope that helps! |
Off-Topic but , whatsup Xero , nice too see you back.
|
:) Sup Peli, Thx! I've just been busy with work, but I am still around!!
AMX & AMXX on CS = PWNAGE, so I will never really leave, I just may be absent from time to time :P I'm sure you know what I mean :D |
| All times are GMT -4. The time now is 19:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.