Raised This Month: $ Target: $400
 0% 

newbie confused


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
MC-Olivenoel
Member
Join Date: Oct 2004
Old 10-19-2004 , 07:35  
Reply With Quote #2

hi

its n argument ...

example...

if u type in console

kick playerXYZ

Code:
new arg[32] 
      read_argv(1,arg,31)

first makes n variable ;)
2. read the argument of the command kick ;)

here its playerXYZ

read_argv(1,arg,31)

1 = nummer of argument ( kick <arg1> <arg2> <arg3>)
arg = the variable where to put in the argument (arg = playerXYZ)
31 = how long is the argument (if its longer it will cut)


hope its correckt

cucu
MC-Olivenoel is offline
 



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 17:15.


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