Raised This Month: $ Target: $400
 0% 

Realmod regeneration!!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
chRm
Senior Member
Join Date: Sep 2005
Location: Cyprus
Old 10-29-2005 , 05:58  
Reply With Quote #1

When the plugin gets enabled, the freezetime does not work correctly.

Normally you cant move during the freezetime, but if the plugin is enabled, you can move normaly but you can't fire until the freeze time is over.

What should i put in the code to fix?

Heres the code:


Code:
public round_start(){     set_task(get_cvar_float("mp_buytime")*60.0,"buy_time_up",51)     set_cvar_num("amx_buytimeup",0)     return PLUGIN_CONTINUE } public new_round(id){     if(!get_cvar_num("realmod"))         return PLUGIN_CONTINUE             new i     for(i=0;i<8;i++)         playerbody[id][i]=0     playerbuy[id]=true     speedpercent[id]=100.0     onfire[id]=0     knifed[id]=0     leghits[id]=0       set_user_maxspeed(id,240.0)     return PLUGIN_CONTINUE } public round_end(){     remove_task(51)     return PLUGIN_CONTINUE }
__________________
This signature is going to self destruct in: <countdown coming soon>




Previously known as Panais
chRm is offline
Send a message via MSN to chRm
Reply



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:49.


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