AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Grenades Are Heavy Run time error (https://forums.alliedmods.net/showthread.php?t=50976)

sb123 02-08-2007 03:53

Grenades Are Heavy Run time error
 
22:24:46 og L 04/22/2006 - 22:08:09: [ENGINE] Invalid entity 183
22:24:46 og L 04/22/2006 - 22:08:09: [AMXX] Run time error 10 (plugin "grenades_are_heavy.amxx") - debug not enabled!
22:24:46 og L 04/22/2006 - 22:08:09: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

http://w3arcade.net/grenades_are_heavy.sma

Thanks man

Oskar 02-08-2007 05:05

Re: Grenades Are Heavy Run time error
 
1 Attachment(s)
Maybe this will work:

if(!is_valid_ent(ptr))
return

instead of ( is_valid_ent (pts)return

BTW I made the code run faster.
EDIT: +karma plz

sb123 02-08-2007 06:00

Re: Grenades Are Heavy Run time error
 
Thanks


All times are GMT -4. The time now is 00:34.

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