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

Public functions need to be forwarded, so

pawn Код:
forward settime();
public settime()
{
    new hour,minute,second;
    new string[256];
    gettime(hour,minute,second);
    if (minute <= 9){format(string,25,"%d:0%d:%d",hour,minute,second);}
    else {format(string,25,"%d:%d:%d",hour,minute,second);}
    TextDrawSetString(Clock,string);
    SetWorldTime(hour);
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)