Raised This Month: $ Target: $400
 0% 

Player is invalid ent??


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 05-31-2010 , 08:26   Player is invalid ent??
Reply With Quote #1

I'm not too sure why I'm getting this error at all to be honest.

I haven't coded in AMXX for a long time and forgot heaps of things so any help would be grateful!.

Code:
L 05/31/2010 - 23:35:55: [FAKEMETA] Invalid entity
L 05/31/2010 - 23:35:55: [AMXX] Displaying debug trace (plugin "zombie_swarm.amxx")
L 05/31/2010 - 23:35:55: [AMXX] Run time error 10: native error (native "engfunc")
L 05/31/2010 - 23:35:55: [AMXX]    [0] zombie_swarm.sma::fm_strip_user_weapons (line 1289)
L 05/31/2010 - 23:35:55: [AMXX]    [1] zombie_swarm.sma::give_weapons (line 615)
L 05/31/2010 - 23:35:55: [AMXX]    [2] zombie_swarm.sma::event_new_round (line 540)
Attached Files
File Type: sma Get Plugin or Get Source (zombie_swarm.sma - 652 views - 35.8 KB)
__________________
It's a mystery.
Mini_Midget is offline
drekes
Veteran Member
Join Date: Jul 2009
Location: Vault 11
Old 05-31-2010 , 08:28   Re: Player is invalid ent??
Reply With Quote #2

Give us some code to work with
__________________

Quote:
Originally Posted by nikhilgupta345 View Post
You're retarded.
drekes is offline
Send a message via MSN to drekes
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 05-31-2010 , 09:02   Re: Player is invalid ent??
Reply With Quote #3

Code is 1000+ words and I'm not entirely sure where the problem or what the problem is. Thats why I just posted my whole script.
__________________
It's a mystery.
Mini_Midget is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-31-2010 , 10:56   Re: Player is invalid ent??
Reply With Quote #4

I don't see any problem that can cause that because you check is_user_alive before stripping weapons

and ye, stop using those fm_ functions, use normal functions from fun modules (theres more in code)
__________________
xPaw is offline
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 06-01-2010 , 04:09   Re: Player is invalid ent??
Reply With Quote #5

Mmm... Strange... Used the fun module and it works fine but screwed up a few things (but wasn't hard to fix).
__________________
It's a mystery.
Mini_Midget 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 05:19.


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