Raised This Month: $ Target: $400
 0% 

[SolVeD] Button: Target[ent] = Bugged..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-23-2010 , 09:24   [SolVeD] Button: Target[ent] = Bugged..
Reply With Quote #1

Hello,
I'm working on a new plugin..

And I take Target of a button so..

#define MAX_BUTTONS 200

new Target[MAX_BUTTONS]


Then I take target of the button

new buttontarget = the code for it..

then when I do: Target[buttontarget] = 1

It works 15%

Becuase:

If the target starts with:

, * > \ ; '

All those things like:

*door5

then it gives an error.

How to fix this?

Thanks
__________________
Retired.

Last edited by Xalus; 05-23-2010 at 09:43.
Xalus is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-23-2010 , 09:32   Re: Button: Target[ent] = Bugged..
Reply With Quote #2

Code:
If the target starts with:

, * > \ ; '
No one of mappers are doing such crap..
__________________
xPaw is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-23-2010 , 09:33   Re: Button: Target[ent] = Bugged..
Reply With Quote #3

Deathrun_extreme got it?
__________________
Retired.
Xalus is offline
Xalus
Veteran Member
Join Date: Dec 2009
Location: Belgium
Old 05-23-2010 , 09:43   Re: Button: Target[ent] = Bugged..
Reply With Quote #4

Fixed.

it was a bug in my Get Target thing


[Solved]
__________________
Retired.
Xalus 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