Raised This Month: $51 Target: $400
 12% 

compiling wont work please help


Post New Thread Reply   
 
Thread Tools Display Modes
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 05-27-2008 , 07:27   Re: compiling wont work please help
Reply With Quote #21

but when I make a new hero I always get the same 4 errors... could you explain me why?
egbertjan is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-27-2008 , 09:54   Re: compiling wont work please help
Reply With Quote #22

exact same lines too?
do you compile with webcompiler? amxx studio or the extern compiler?
and yea its from green arrow as you can read in the sma
micke1101 is offline
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 05-27-2008 , 09:59   Re: compiling wont work please help
Reply With Quote #23

yea i read i use amxx studio (the one you get with the amxx sh download)
egbertjan is offline
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 05-27-2008 , 10:07   Re: compiling wont work please help
Reply With Quote #24

now i tried to just remake green arrow by just changing the name and not change any other thing and still i get the same 4 errors...
WHAT am i doing wrong?

Last edited by egbertjan; 05-27-2008 at 10:12.
egbertjan is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-27-2008 , 10:34   Re: compiling wont work please help
Reply With Quote #25

copy the part you change and send here
micke1101 is offline
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 05-27-2008 , 12:40   Re: compiling wont work please help
Reply With Quote #26

i called it silent with the same .sma as green arrow except the name then.....
Attached Files
File Type: sma Get Plugin or Get Source (sh_silent.sma - 167 views - 10.5 KB)
egbertjan is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-27-2008 , 12:54   Re: compiling wont work please help
Reply With Quote #27

i know what the error is

you see the green in the top of the code

Quote:
// silent - Exploding Arrows

// CVARS
// silent_arrows- How many Arrows does he get each round
// silent_getdeagle - Does he get a free scout on respawn.

// Edited by ShadowLeader

#include <amxmod>
#include <amxmisc>
#include <superheromod>

// VARIABLES
new gHeroName[]="Silent"
new gHassilentPower[SH_MAXSLOTS+1]
new gHassilentSelected[SH_MAXSLOTS+1]
new gArrowsFired[SH_MAXSLOTS+1]
new gPlayerLevels[SH_MAXSLOTS+1]

new gLastWeapon[SH_MAXSLOTS+1]
new gLastClipCount[SH_MAXSLOTS+1]
new lastammo[SH_MAXSLOTS+1]
new lastweap[SH_MAXSLOTS+1]
and this can you see the differens?

Quote:
//----------------------------------------------------------------------------------------------
public newRound(id)
{
silentFired[id] = 0
and thats on more than 1 place you register the name gArrowsfired which is correct if you uses arrows if you want bullets new gBulletsfired is better but here you have set the hero name on fired are you going to fire the hero at people
no just a joke but dont change that part
micke1101 is offline
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 05-27-2008 , 13:02   Re: compiling wont work please help
Reply With Quote #28

lol thanks anyway im gonna try it right away ;)
egbertjan is offline
egbertjan
Senior Member
Join Date: Mar 2007
Location: The Netherlands
Old 05-27-2008 , 13:06   Re: compiling wont work please help
Reply With Quote #29

ehh sorry that i dont get it right away... but do i have to delete the new gArrowsFired[SH_MAXSLOTS+1] part?

ooh i suck at this stuff -_-
egbertjan is offline
micke1101
Veteran Member
Join Date: Jan 2008
Location: Banned-town
Old 05-27-2008 , 13:19   Re: compiling wont work please help
Reply With Quote #30

no you have to change all your silentFired to gArrowsfired new gArrowsFired is the registration of that can you call it variable (dont think so but something)
micke1101 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode