Whats wrong with this hero i scripted?
Ok i scripted up this hero "Peter Pan" this isnt the full finished version but this was off someones tutorial and i went and copied it into the compiler tool on the amx home page but this said
1.Error Here it is im not sure what i did wrong. Code:
#include <amxmodmenu> |
Re: Whats wrong with this hero i scripted?
1. This is the wrong section.
2. Line 1: You wrote "amxmodmenu", supposed to be "amxmodx". 3. Line 9: You have a " to much. 4. Line 10: You're missing a ". 5. line 33: You have 2 plugin_init(), Move all the stuff from one to another as you can only have one. (6. Line 10: The cvar is named stupid.) (7. Line 12: It's spelled dagger.) (8. Line 39: The cvar is named stupid.) |
Re: Whats wrong with this hero i scripted?
look i went off someones tutorial and the dagger spelling didnt matter but thanks. and idk wat u mean by the cvar is named
Heres wat ive edited so far... Code:
#include <amxmodx> |
Re: Whats wrong with this hero i scripted?
register_cvar("Super_level", "10")
register_cvar("Supher_mult", "1.5"); //how much damage to do (1.5 x normal_damage) By cvars I meant these. Yuu should name em something like peterpan_level and peterpan_mult. Cuz noone will remember that Super_level and Supher_mult is for peter pan. |
Re: Whats wrong with this hero i scripted?
oh ok thanks for all the help
|
Re: Whats wrong with this hero i scripted?
How would I fix these?
Code:
/home/groups/amxmodx/tmp3/textf2yecb.sma(9) : error 001: expected token: ",", but found "-identifier-"Code:
#include <amxmodx> |
Re: Whats wrong with this hero i scripted?
This is how it looks:
Code:
This is how it should look: Code:
Get AMXx Studio. |
Re: Whats wrong with this hero i scripted?
k thanks
|
Re: Whats wrong with this hero i scripted?
Quote:
|
| All times are GMT -4. The time now is 01:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.