View Single Post
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 07-07-2013 , 13:26   Re: Hardcore v1.0 Beta
Reply With Quote #3

You should use PCVars instead of CVars, also you should made a looping task instead of making a new task each time the old task is done.

Code:
for(new i=0;i<=32;i++)
You should use get_players instead

Code:
is_user_connected(i) && is_user_alive(i)
You only need to check if he's alive.

Code:
set_user_maxspeed(i,290.0)
Speed will be overwritten at weapon change, you should also change it on CurWeapon Event.
__________________
Kia is offline