AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Same Buyzone for Both Teams (https://forums.alliedmods.net/showthread.php?t=88628)

hleV 03-27-2009 13:27

Same Buyzone for Both Teams
 
I want to make Terrorists' buyzone in the same place as CTs' buyzone. Can I do that? Also to remove the original Ts' buyzone.

SonicSonedit 03-27-2009 13:44

Re: Same Buyzone for Both Teams
 
PHP Code:

@SolidClass func_buyzone "Buy zone" 
[
    
team(choices) : "Team" =
    [
        
0"All teams (unassigned)"
        
1"Terrorist"
        
2"Counter-terrorist"
    
]


Loop through buyzone entities and change pev_team (not sured, but it's probably pev_team) to 0.

hleV 03-27-2009 16:29

Re: Same Buyzone for Both Teams
 
WTH is that?

khios 03-27-2009 16:37

Re: Same Buyzone for Both Teams
 
It's the func_buyzone entity but if you don't have the .rmf of the map you can't apply this :/

SonicSonedit 03-27-2009 16:42

Re: Same Buyzone for Both Teams
 
Quote:

It's the func_buyzone entity but if you don't have the .rmf of the map you can't apply this :/
Oh yes you can. It's an AMXX. So you can do whatever you want.

Quote:

WTH is that?
it's an FGD code. Usefull when you work with entities.

Arkshine 03-27-2009 16:49

Re: Same Buyzone for Both Teams
 
You can alter the existent entity value with Amxx.

SonicSonedit 03-27-2009 16:55

Re: Same Buyzone for Both Teams
 
BOYSplayCS
FGD files describe HL1 entities structure. AMXX uses the same very structure. So the values are same in both AMXX and FGD's.

BOYSplayCS 03-27-2009 17:06

Re: Same Buyzone for Both Teams
 
Lols, I never gave you -karma. But now, I will just to prove it to you.

ConnorMcLeod 03-27-2009 17:17

Re: Same Buyzone for Both Teams
 
This entity will never let you set the buyzone at the same place for both team, it can only let you choose witch team can buy.

SonicSonedit 03-27-2009 17:21

Re: Same Buyzone for Both Teams
 
ok, it wasn't you, then there is someone as clever as you.
And LOL stands for Laughing Out Loudly, it's not noun, it's a verb.

Anyway, i'm not going to keep on argue anymore.
Good day to you.

P.S.
I don't know if that was a mistake or not, but you gave me +karma. If you want, i'll give you +karma too tomorrow (can't give karma anymore today) and let's settle it.


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

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