warning 235: public function lacks forward declaration (symbol "settime")
#4

You should write it like this:

PHP код:
forward settime();
public 
settime()
{
    new 
hour,minute,second,string[16];
    
gettime(hour,minute,second),
    
format(string,sizeof(string),"%d:%02d:%02d",hour,minute,second),
    
TextDrawSetString(Clock,string),
    
SetWorldTime(hour);
    return 
1;

Much cleaner Code and there is always a 0 before
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)