AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   A few quick questions (https://forums.alliedmods.net/showthread.php?t=9963)

p1pb0y 02-05-2005 04:27

A few quick questions
 
Im new at the scripting thing, and I hope I dont piss anybody off for posting in the wrong place/stupid question or w/e.

for cmds such as amx_heal, amx_givemoney, amx_disarm and such, you should be able to target a whole team, with @CT, and @T, but it doesn't work. I've gotten @CT to work, with amx_weapon @CT 51. but aside from that no luck. I want to make a few scripts envolving, selecting everybody, [or just a whole team] and disarming them, or healing them, or w/e. but I dont know why @ T isn't working.

I've tried to search the forum, but "@T" and "@CT" turn out to be just T, and CT, which...are very VERY common.

XunTric 02-05-2005 04:37

Yeah i got the same problems. Well you can try this. Because there are alot of versions of those :lol:

@CT
@T
@TERRORISTS
@Team1
@Team2
@1
@2
* (all)
@COUNTER-TERRORISTS

XxAvalanchexX 02-05-2005 12:23

The official way of doing it seems to be @CT and @TERRORIST, although the scripters have to code those in themselves, it's harder (though not really hard) than just grabbing the name and executing it on one user. Usually whenever I do team matching I allow for @COUNTER-TERRORIST and @T as well.

p1pb0y 02-05-2005 23:03

Thank you both! Ill try those out xD


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

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