AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [SolVeD] Button: Target[ent] = Bugged.. (https://forums.alliedmods.net/showthread.php?t=127641)

Xalus 05-23-2010 09:24

[SolVeD] Button: Target[ent] = Bugged..
 
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

xPaw 05-23-2010 09:32

Re: Button: Target[ent] = Bugged..
 
Code:

If the target starts with:

, * > \ ; '

No one of mappers are doing such crap..

Xalus 05-23-2010 09:33

Re: Button: Target[ent] = Bugged..
 
Deathrun_extreme got it?

Xalus 05-23-2010 09:43

Re: Button: Target[ent] = Bugged..
 
Fixed.

it was a bug in my Get Target thing :)


[Solved]


All times are GMT -4. The time now is 05:19.

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