AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Stealth: Compile Errors? (https://forums.alliedmods.net/showthread.php?t=75941)

Marqioz 08-15-2008 14:15

Stealth: Compile Errors?
 
1 Attachment(s)
Hey

I cant get this plugin compiled and i hope that you can help me :D. Any changes in .sma file is Cool :D.

I'm not a so good scripter and this is my first plugin, so be nice to me :D


+Karma If you helped me :D

ESP: If you click on "Get Plugin" you can see my Errors ;D

YamiKaitou 08-15-2008 14:44

Re: Stealth: Compile Errors?
 
1 Attachment(s)
Here, you old errors have been fixed. The current errors are because the script is not finished yet.

Marqioz 08-15-2008 14:54

Re: Stealth: Compile Errors?
 
I think i needed #include <fun>

That one did you forgot :D

Thanks i will try to compile :D

+Karma to you

Marqioz 08-15-2008 15:00

Re: Stealth: Compile Errors?
 
/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : error 017: undefined symbol "id"

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : warning 215: expression has no effect

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : warning 215: expression has no effect

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : warning 215: expression has no effect

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : warning 215: expression has no effect

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : warning 215: expression has no effect

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : error 001: expected token: ";", but found ")"

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : error 029: invalid expression, assumed zero

/home/groups/amxmodx/tmp3/phpaowEVv.sma(36) : fatal error 107: too many error messages on one line


Whats Wrong??

xPaw 08-15-2008 15:09

Re: Stealth: Compile Errors?
 
add (id)
PHP Code:

public Stealth(id

public 
Give_Stealth(id)

public 
Take_Stealth(id


Marqioz 08-15-2008 15:15

Re: Stealth: Compile Errors?
 
Thanks A LOT it works fine now :D

Its Compiled and works great :D..

I Will give you twice +Karma ;D

ESP: Your Plugin HNS Shop Is great

hleV 08-15-2008 15:59

Re: Stealth: Compile Errors?
 
You're creating pcvars but still using get_cvar_num().

Marqioz 08-16-2008 05:51

Re: Stealth: Compile Errors?
 
How do i change that?

Will you please change that, i'm not a so good scripter :P

[X]-RayCat 08-16-2008 05:56

Re: Stealth: Compile Errors?
 
Quote:

Originally Posted by Marqioz (Post 670431)
How do i change that?

Will you please change that, i'm not a so good scripter :P

get_pcvar_*
set_pcvar_*

Marqioz 08-16-2008 05:57

Re: Stealth: Compile Errors?
 
Where shall i place that?


All times are GMT -4. The time now is 03:14.

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