Raised This Month: $ Target: $400
 0% 

name prefix


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Sandro Gubeladze
Senior Member
Join Date: Dec 2009
Location: MySQL DataBase
Old 12-29-2009 , 07:19   name prefix
Reply With Quote #1

hey, I wanted to create plugin which will add prefix to client's name.
example: player conects to the server whose name is "NAME", and his name will be changed into "[player] NAME"
I tried this code but did't help:

PHP Code:
public client_connect(id) {
      new 
name[32]
      
get_user_name(idname31)
      
client_cmd(idname, ^"[player] %s^"name)

Sandro Gubeladze 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 04:07.


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