21.09.2017, 09:42
Yes, I have onplayerspawn...
You mean like this:
but then i got this:
You mean like this:
PHP код:
SetTimerEx("WelcomeTimer", 10000, false, "i", playerid);
}
forward WelcomeTimer(playerid);
public WelcomeTimer(playerid)
{
format(string, sizeof(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);
PHP код:
D:\...(11152) : error 029: invalid expression, assumed zero
D:\...(11152) : error 017: undefined symbol "WelcomeTimer"
D:\...(11153) : error 029: invalid expression, assumed zero
D:\...(11153) : error 017: undefined symbol "WelcomeTimer"
D:\...(11173) : error 054: unmatched closing brace ("}")
D:\...(11175) : error 010: invalid function or declaration