Raised This Month: $ Target: $400
 0% 

Command accepting partial names?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 09-06-2004 , 02:59  
Reply With Quote #3

Like this?
Code:
public changeboost(id) {     if(! get_user_flags(id) && ADMIN_KICK)         return PLUGIN_HANDLED     new target[31]     new boost[20]     new tgtid     new boostamo     read_argv(1,target,30)     new player = cmd_target(id,target,1)     if(!player) return PLUGIN_HANDLED     read_argv(2,boost,19)     tgtid = get_user_index(target)     boostamo = str_to_num(boost)     if(boostamo < 0)         boostamo = 0     boostamount[tgtid] = boostamo     return PLUGIN_HANDLED }
__________________
twistedeuphoria 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:24.


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