I need help!
Happy Easter AlliedModders! 0-0
I'm trying the plugin on 1 bot test server and not work! Code:
#include <amxmodx>if ( !is_user_alive ( id ) ) logs error: 04/23/2022 - 06:25:03: Info (map "zm_ice_attack3") (file "addons/amxmodx/logs/error_20220423.log") L 04/23/2022 - 06:25:03: [CSTRIKE] Invalid player 3 (not in-game) L 04/23/2022 - 06:25:03: [AMXX] Displaying debug trace (plugin "Goldak.amxx", version "0.1.0") L 04/23/2022 - 06:25:03: [AMXX] Run time error 10: native error (native "cs_get_user_team") L 04/23/2022 - 06:25:03: [AMXX] [0] Goldak.sma::Spawn (line 106) |
Re: I need help!
public spawn(id)
{ new random = random_num(1,10); If ( is_user_alive(id) && random == 1 && cs_get_user_team == CS_TEAM_T ) ..... } |
Re: I need help!
// C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(106) : error 076: syntax error in the expression, or invalid function call
// C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(108) : error 029: invalid expression, assumed zero // C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(108 -- 109) : warning 215: expression has no effect // C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(109) : warning 217: loose indentation // C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(109) : error 029: invalid expression, assumed zero // C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(109) : error 017: undefined symbol "Ak47Add" // C:\Users\Hanibac Alexandru\Desktop\SMA-COMP\Goldak.sma(109) : fatal error 107: too many error messages on one line not work :| |
Re: I need help!
Those are compilation error i suppose?
Please post the new code with the modifications you maded . |
Re: I need help!
offtop: such errors xD
Code:
public Spawn(id)random is a native (i didn't try to use native name as a variable name) Quote:
|
Re: I need help!
Opps , right , change variable name random into iRandomNum or something like that .
|
Re: I need help!
Quote:
https://i.ibb.co/gTqL7nC/image.png You made an error here: Quote:
|
Re: I need help!
Quote:
L 04/23/2022 - 20:56:23: [HAMSANDWICH] Function player_hurt not found. L 04/23/2022 - 20:56:23: [AMXX] Displaying debug trace (plugin "Goldak.amxx", version "0.1.0") L 04/23/2022 - 20:56:23: [AMXX] Run time error 10: native error (native "RegisterHam") L 04/23/2022 - 20:56:23: [AMXX] [0] Goldak.sma::plugin_init (line 17) |
Re: I need help!
Quote:
|
Re: I need help!
Quote:
|
| All times are GMT -4. The time now is 21:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.