[Ajuda] Help "undefined"
#1

Код:
error 017: undefined symbol "Horas"
error 017: undefined symbol "PlayerTextDrawSetString"
Hora
Код:
CMD:setweather(playerid,params[])
{
    if(User[playerid][USER_ADMIN] >= 2 || IsPlayerAdmin(playerid))
    {
		new weather,string[128];
		if(sscanf(params, "i", weather)) return SendClientMessage(playerid,-1,""chat" /setweather [id]");

		SetWeather(weather);

		if(IsPlayerAdmin(playerid))
		{
			format(string, sizeof(string), ""chat""COL_RED" Tempo Alterado para %d",Horas);
			SendClientMessageToAll(-1,string);
		}
		else
		{
			format(string, sizeof(string), ""chat""COL_RED" %s %s has changed the weather to %d",GetAdminName(playerid),PlayerName(playerid),weather);
			SendClientMessageToAll(-1,string);
		}
	}
	else
	{
		SendClientMessage(playerid,-1,""chat""COL_RED" Vocк nгo tem as permissхes de administrador certas para este comando!");
	}
	return 1;
}
PlayerTextDrawSetString = Modelo
Код:
		format(InfoString, sizeof(InfoString), "Ping: ~w~%d", tdping);
	 	PlayerTextDrawSetString(playerid, ping[playerid], InfoString);
Reply


Messages In This Thread
Help "undefined" - by Holl - 14.05.2014, 00:01
Re: Help "undefined" - by Fenix4000 - 14.05.2014, 00:09
Re: Help "undefined" - by Holl - 14.05.2014, 00:13
Re: Help "undefined" - by lKoDlFuLLaNNo - 14.05.2014, 00:17
Re: Help "undefined" - by Holl - 14.05.2014, 00:26
Re: Help "undefined" - by lKoDlFuLLaNNo - 14.05.2014, 00:45
Re: Help "undefined" - by Holl - 14.05.2014, 19:32
Re: Help "undefined" - by tonisantolia - 14.05.2014, 20:34

Forum Jump:


Users browsing this thread: 7 Guest(s)