Raised This Month: $ Target: $400
 0% 

Error 017 <Please Help Me To Fix It> Thanks.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
JFeldon
Member
Join Date: Feb 2007
Location: United Kingdom
Old 07-16-2008 , 14:23   Re: Error 017 <Please Help Me To Fix It> Thanks.
Reply With Quote #7

Erm, as said above I HIGHLY recommend you abandon this plugin NOW. Changing a user's config will resort in an uproar, it's a form of cheating.

Changing name's and such is fine, but not usually very nice. Changing config is very bad. As show, you use client_cmd to put a command into the clients console.

PHP Code:
client_cmd(id,"name %s",NewName)
//Or
client_cmd(id,"say Hello world!"
The command's must all be put in "". The first paramater of client_cmd is the ID of the user, as your using it on the client that executed the command you just use ID - provided you've put that in the function. The second paramater is the command you want to submit to the clients console. The third optional paramter are for any variables, like in my first example.

As with any command, every time you use a space you move to the next paramater. Only by using "" can you tell the compiler that everything inside that is one paramater.
__________________
+Karma if I helped! ;)
JFeldon is offline
Send a message via MSN to JFeldon
 



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 05:40.


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