Timer for announcement
#3

Yes, I have onplayerspawn...
You mean like this:

PHP код:
SetTimerEx("WelcomeTimer"10000false"i"playerid);
    }
    
forward WelcomeTimer(playerid);
    public 
WelcomeTimer(playerid)
    {
    
format(stringsizeof(string), "Welcome To ~y~%s~n~~b~%s~n~~w~Type ~y~/help~w~, ~y~/rules ~w~or~n~~y~/cmds ~w~For Game Info",ServerInfo[sMapName],PlayerInfo[playerid][pName]);
    
SendClientAnnouncement(playerid,string); 
but then i got this:
PHP код:
D:\...(11152) : error 029invalid expressionassumed zero
D
:\...(11152) : error 017undefined symbol "WelcomeTimer"
D:\...(11153) : error 029invalid expressionassumed zero
D
:\...(11153) : error 017undefined symbol "WelcomeTimer"
D:\...(11173) : error 054unmatched closing brace ("}")
D:\...(11175) : error 010invalid function or declaration 
Reply


Messages In This Thread
Timer for announcement - by DarknesS1988 - 21.09.2017, 09:13
Re: Timer for announcement - by Twizted - 21.09.2017, 09:19
Re: Timer for announcement - by DarknesS1988 - 21.09.2017, 09:42
Re: Timer for announcement - by Twizted - 21.09.2017, 09:46
Re: Timer for announcement - by DarknesS1988 - 21.09.2017, 10:00
Re: Timer for announcement - by Twizted - 21.09.2017, 10:05

Forum Jump:


Users browsing this thread: 1 Guest(s)