Raised This Month: $ Target: $400
 0% 

need some easy help..


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
haimmaik
Senior Member
Join Date: Jul 2005
Old 10-29-2005 , 16:32  
Reply With Quote #3

thanks

now i have another problem :\
i wanted to make my script abit more usefull so i added a speed function:

Code:
public func_spd(id, level, cid) {     if (!get_cvar_num("togglehm"))     {         console_print(id, "this function is off.. plz change togglehp to 1")         return PLUGIN_HANDLED     }     if (!cmd_access(id, level, cid, 3))     {         console_print(id, "sorry, ur too noob to use that command")         return PLUGIN_HANDLED     }         new arg[32]     new float:spd[5]     read_argv(1,arg,31)     read_argv(2,spd,4)     new float:spdf = str_to_float(spd)     new player = cmd_target(id, arg, 4)     if (!player)     {         console_print(id, "no such player")         return PLUGIN_HANDLED     } else {         set_user_maxspeed(player,spdf)     }     return PLUGIN_HANDLED

when i compile it i get 2 warnings:

in line 105 - warning 213 tag mismatch
in line 111 - warning 213 tag mismatch

line 105 = "new player = cmd_target(id, arg, 4)"
line 111 = "set_user_maxspeed(player,spdf)"

plz help ^^

oh and.. can u plz tell me how to do that the speed wont reset every time i change weapon? :\
haimmaik 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 23:43.


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