Raised This Month: $ Target: $400
 0% 

litlle prob easy


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-11-2004 , 07:06   litlle prob easy
Reply With Quote #1

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"
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-11-2004 , 07:26  
Reply With Quote #2

Looks right to me.
Johnny got his gun is offline
[FBX]
Senior Member
Join Date: May 2004
Old 06-11-2004 , 22:44  
Reply With Quote #3

possibly your looking at the player unique ID rather than his temporary ID? Player IDs shouldnt ever be above 32...
[FBX] is offline
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 06-12-2004 , 03:38  
Reply With Quote #4

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)
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
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 14:56.


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