Raised This Month: $ Target: $400
 0% 

Getting loads of errors when trying to find a entity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 06-24-2011 , 14:36   Re: Getting loads of errors when trying to find a entity
Reply With Quote #1

1. You were missing a closing brace from that entity code.
2. The function is find_ent_by_owner() not find_entity_by_owner().
3.
PHP Code:
while ( ( iEnt find_ent_by_owner(iEnt"weapon_xm1014"id0) ) ); 
You had a semicolon there, for some reason.

Attached the fixed version.
Attached Files
File Type: sma Get Plugin or Get Source (rollerblades_weaponmenu.sma - 600 views - 14.7 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
RollerBlades
Senior Member
Join Date: Feb 2011
Location: Sweden
Old 06-24-2011 , 14:56   Re: Getting loads of errors when trying to find a entity
Reply With Quote #2

thanks +karma
RollerBlades 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 23:34.


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