Raised This Month: $ Target: $400
 0% 

[ZP] Extra Item : Speed Boost || Updated v1.2 [28/06/2009]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-15-2008 , 05:18   Re: [ZP] Extra Item : Speed Boost
Reply With Quote #9

Quote:
Originally Posted by G-Dog View Post
Code:
g_itemid_speed = zp_register_extra_item(g_item_name, g_sb_cost, 0)
to
Code:
g_itemid_speed = zp_register_extra_item(g_item_name, get_pcvar_num(g_sb_cost), 0)
to fix your problem. Also whats the point of this
Code:
#define SPEED_BOOST ADMIN_LEVEL_B
you never use SPEED_BOOST in the plugin. And why did you include fm_set_user_maxspeed when you never use that function?
Code:
g_itemid_speed = zp_register_extra_item(g_item_name, g_sb_cost, 0)
to
Code:
g_itemid_speed = zp_register_extra_item(g_item_name, get_pcvar_num(g_sb_cost), 0)
1)Yea, I forgat to use get_pcvar_num(g_sb_cost), damn.
2) oh that was when I created with that function, then I forgat to change it..
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! 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 15:24.


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