Raised This Month: $ Target: $400
 0% 

Check client command


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
biscuit628
Senior Member
Join Date: Jun 2007
Location: 香港HongKong
Old 03-14-2009 , 02:02   Check client command
Reply With Quote #1

how to check a client command?
example..
i want to know player have or haven't a command call "Apple"
now..i put this in my code..
PHP Code:
client_cmd(id,Apple
then
Check PlayerA , PlayerA doesn't have the command, so he get "Unknow Command" in the console //true
Check PlayerB , PlayerB has the command,but it is nothing in the value <Apple ""> //false
Check PlayerC , PlayerC has the command, and the value is<Apple "Orange">//false
how can i get true or false?

sorry for my very very poor english..
biscuit628 is offline
 


Thread Tools
Display Modes

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 08:55.


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