AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   ZP Class Flame Errors (https://forums.alliedmods.net/showthread.php?t=327949)

Mankled 10-18-2020 01:00

ZP Class Flame Errors
 
1 Attachment(s)
im using zp class flame on my server, and i always get log errors saying:

PHP Code:

Invalid message id
displaying debug trace plugin 
"zp_class_flame.amxx"
run time error 10 native error (nativeset_msg_block)
zp_class_flame.sma::on_fire line (450

I know the error is the ID which the message is sent, but i dont what ID to put it

could someone fix this for me? thanks
here's the .sma

r0ma 10-18-2020 01:58

Re: ZP Class Flame Errors
 
on plugin_init add:
PHP Code:

    gmsgScoreInfo get_user_msgid("ScoreInfo");
    
gmsgDeathMsg get_user_msgid("DeathMsg"); 


Mankled 11-01-2020 14:57

Re: ZP Class Flame Errors
 
now there is new errors:
Code:

L 11/01/2020 - 09:44:19: Start of error session.
L 11/01/2020 - 09:44:19: Info (map "zm_foda") (file "addons/amxmodx/logs/error_20201101.log")
L 11/01/2020 - 09:44:19: [AMXX] Displaying debug trace (plugin "zp_class_flame.amxx", version "1.2")
L 11/01/2020 - 09:44:19: [AMXX] Run time error 11: divide
L 11/01/2020 - 09:44:19: [AMXX]    [0] zp_class_flame.sma::fire_flamethrower (line 177)
L 11/01/2020 - 09:44:19: [AMXX]    [1] zp_class_flame.sma::FM_PreThink (line 548)
L 11/01/2020 - 10:09:02: Start of error session.
L 11/01/2020 - 10:09:02: Info (map "zm_aztec_infinity") (file "addons/amxmodx/logs/error_20201101.log")
L 11/01/2020 - 10:09:02: [AMXX] Displaying debug trace (plugin "zp_class_flame.amxx", version "1.2")
L 11/01/2020 - 10:09:02: [AMXX] Run time error 11: divide
L 11/01/2020 - 10:09:02: [AMXX]    [0] zp_class_flame.sma::fire_flamethrower (line 177)
L 11/01/2020 - 10:09:02: [AMXX]    [1] zp_class_flame.sma::FM_PreThink (line 548)

could u help me?

r0ma 11-01-2020 15:04

Re: ZP Class Flame Errors
 
https://forums.alliedmods.net/showthread.php?t=154433 2seg in google search

Mankled 11-01-2020 17:14

Re: ZP Class Flame Errors
 
Quote:

Originally Posted by r0ma (Post 2723351)

i didnt get it, what should i do ?


All times are GMT -4. The time now is 13:49.

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