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
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 11-15-2008 , 05:13   Re: [ZP] Extra Item : Speed Boost
Reply With Quote #8

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?
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
 



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