Help with this xp mod...
I am trying to make a mod... but i am new to coding idk why i tried but when i compile i get 19 errors here is the code if oyu can help
PHP Code:
|
Re: Help with this xp mod...
/home/groups/amxmodx/tmp3/phpxZbTaa.sma(15) : warning 217: loose indentation
/home/groups/amxmodx/tmp3/phpxZbTaa.sma(34) : error 018: initialization data exceeds declared size /home/groups/amxmodx/tmp3/phpxZbTaa.sma(37) : error 029: invalid expression, assumed zero /home/groups/amxmodx/tmp3/phpxZbTaa.sma(54) : error 029: invalid expression, assumed zero /home/groups/amxmodx/tmp3/phpxZbTaa.sma(54) : error 017: undefined symbol "eDeath" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(58) : error 017: undefined symbol "id" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(60) : error 017: undefined symbol "attacker" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(63) : error 017: undefined symbol "attacker" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(66) : error 017: undefined symbol "attacker" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(69) : error 017: undefined symbol "attacker" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(71) : error 017: undefined symbol "attacker" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(71) : warning 215: expression has no effect /home/groups/amxmodx/tmp3/phpxZbTaa.sma(71) : warning 215: expression has no effect /home/groups/amxmodx/tmp3/phpxZbTaa.sma(71 -- 72) : error 017: undefined symbol "attacker" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(74) : error 017: undefined symbol "ShowHud" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(75) : error 017: undefined symbol "SaveData" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(77) : error 029: invalid expression, assumed zero /home/groups/amxmodx/tmp3/phpxZbTaa.sma(77) : error 017: undefined symbol "ShowHud" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(80) : error 017: undefined symbol "id" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(80) : warning 215: expression has no effect /home/groups/amxmodx/tmp3/phpxZbTaa.sma(80) : error 017: undefined symbol "id" /home/groups/amxmodx/tmp3/phpxZbTaa.sma(80) : error 029: invalid expression, assumed zero /home/groups/amxmodx/tmp3/phpxZbTaa.sma(80) : fatal error 107: too many error messages on one line these are the errors i get |
Re: Help with this xp mod...
1 Attachment(s)
It compiles now. I dont' know what you were doing on line 65, you will need to check that client print. Also, if you use Tabs instead of spaces for indenting code it is much much easier to read. I attached the file, take that file instead of copying from the php code box.
PHP Code:
|
Re: Help with this xp mod...
thnx but when i go to compile it it won't show a lnik for it but there are no errors
|
Re: Help with this xp mod...
well i was wondering...
PHP Code:
|
Re: Help with this xp mod...
Quote:
|
Re: Help with this xp mod...
k thnx
|
Re: Help with this xp mod...
Quote:
Quote:
|
Re: Help with this xp mod...
I don't know what is with you and tabs, but that does NOT make the code easier to read. Don't tell me otherwise, I work with this stuff. Also, indenting looks way neater and professional - it also improves skills. Tabs are unappealing and shouldn't normally be used when coding.
|
| All times are GMT -4. The time now is 17:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.