Raised This Month: $ Target: $400
 0% 

Help this code right?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-23-2014 , 22:22   Re: Help this code right?
Reply With Quote #6

Quote:
Originally Posted by Toallin View Post
and this would otherwise?

PHP Code:
public ShowHud(taskid

    new 
id taskid-TASK_HUD 
     
    
if(!is_user_alive(id)) return; 
         
    new 
iHours[3], iMinutes[3]
    
get_time("%H"iHourscharsmax(iHours)) 
    
get_time("%M"iMinutescharsmax(iMinutes))
    new 
Hora str_to_num(iTime

        
set_hudmessage(01282550.010.2206.00.9
    
ShowSyncHudMsg(idHud"Time: %s:%s %s"iHoursiMinutesHora >= 00 && Hora 12 "AM" "PM"

What happens when you test it?
__________________
fysiks 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 21:09.


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