AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   litlle prob easy (https://forums.alliedmods.net/showthread.php?t=2614)

sanaell 06-11-2004 07:06

litlle prob easy
 
Code:
new player = cmd_target(id,arg,1)     if (!player) return PLUGIN_HANDLED     new Team[33]     get_user_team(player,Team,32)


How i can have the team ?

player return : #ID

if i type command like this

amx_cmd #36

player = #36

Thx for ur help

Team must return "TERRORIST" or "CT"

Johnny got his gun 06-11-2004 07:26

Looks right to me.

[FBX] 06-11-2004 22:44

possibly your looking at the player unique ID rather than his temporary ID? Player IDs shouldnt ever be above 32...

sanaell 06-12-2004 03:38

Quote:

Originally Posted by Johnny got his gun
Looks right to me.

but the command don t work :( no call of that...

(i ve put debug messs and no response)


All times are GMT -4. The time now is 14:56.

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