Raised This Month: $ Target: $400
 0% 

Checking player's name?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Arion
Senior Member
Join Date: Mar 2007
Old 07-16-2007 , 00:33   Checking player's name?
Reply With Quote #1

I'm totally newbie on scripting for AMXX and I'm with some difficulty to make a function:

Code:
 When player connects  <- public client_connect ?
  If (name == "Arion")  <- strcmp (name, "Arion") ?
    Player sends command ("say \"Arion connecting\"")<- client_cmd (don't know)
I don't know what (id) (on public client_connect(id)) means too ..



Someone could make this little code so I can study on it?


A little help with get_user_name(id, name, 17) is much appreciated too (Where did you get id? And name is where it will save the result? 17 is the number of letters it will save in the variable?


One day I'll be good
Arion is offline
Send a message via MSN to Arion
 



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 21:28.


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