View Single Post
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-24-2008 , 16:39   Re: Bomb Timer Line 0.7
Reply With Quote #2

equali(data[11],"P")

Why don't just use : data[11] == 'P' ?


get_cvar_num("mp_c4timer")

I would use a pointer for that. ( get_cvar_pointer )


new Float:addtime = temp / 90
linestart = (0.50 - temp) + addtime


To avoit to use an extra-var, I would do directly : linestart = (0.50 - temp) + ( temp / 90 )
Even id it's not really necessary.
__________________

Last edited by Arkshine; 06-24-2008 at 16:44.
Arkshine is offline