NEED HELP! i need help with my sma...
Code:
#include <amxmod>Warning when i compile it: compile: sma<18>: warning 217: loose indentation compile: sma<30>: warning 217: loose indentation Code:
register_event("DeathMsg","dead","ade") |
Re: NEED HELP! i need help with my sma...
1.amxmod ==> amxmodx
2.you should see more infomation about DeathMsg Event from here 3.use AMXX-Studio press ctrl + i indent you code ! |
Re: NEED HELP! i need help with my sma...
Instead public dead hook player death with ham_killed: use Search.
|
Re: NEED HELP! i need help with my sma...
i don't know how to use ham_killed.... Sonic, can u show me what is the code please?
|
Re: NEED HELP! i need help with my sma...
If you don't need to modify anything in the death then you are just fine using DeathMsg.
Quote:
Also, you need to change "amxmod" to "amxmodx" and also include cstrike then use cs_get_user_money() and cs_set_user_money(). Other than that, it looks fine to me. |
Re: NEED HELP! i need help with my sma...
register_event("DeathMsg","headshot","ade","3 =1","5=0")
Why the event for headshot is "3=1" "5=0"? |
Re: NEED HELP! i need help with my sma...
Quote:
|
Re: NEED HELP! i need help with my sma...
Code:
#include <amxmodx>I get that from a sma that get bouns money when headshot, may be that sma is wrong too... |
Re: NEED HELP! i need help with my sma...
Use only "a" and not "ade" (as 'de' and 'e' contradict eachother). See if that works. If not, you need to learn to debug: see if code is being executed at all by using client_print(0, print_chat, "message") in code that doesn't seem to be working and see if it shows up. You can also check values of variables to see if they are what you think they are.
|
Re: NEED HELP! i need help with my sma...
It works! Thx ALOT! (:
|
| All times are GMT -4. The time now is 04:20. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.