[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
#2

Kd as linhas do erro meu colega ?
Reply
#3

Quote:
Originally Posted by Fenix4000
Посмотреть сообщение
Kd as linhas do erro meu colega ?
Pronto .. coloquei no topico.
Reply
#4

pawn Код:
format(InfoString, sizeof(InfoString), "Ping: ~w~%d", tdping);
TextDrawSetString(ping[playerid], InfoString);
tenta no topo do gm/fs
pawn Код:
new Horas;
Reply
#5

Quote:
Originally Posted by lKoDlFuLLaNNo
Посмотреть сообщение
pawn Код:
format(InfoString, sizeof(InfoString), "Ping: ~w~%d", tdping);
TextDrawSetString(ping[playerid], InfoString);
tenta no topo do gm/fs
pawn Код:
new Horas;
kk cara vlw meio passo feito .. o horas resolvido agora "PlayerTextDrawSetString" eu n posso colocar oq tu me falou se n vai zoa tudo ... .
Reply
#6

pawn Код:
TextDrawSetString
mostra so pro player nao precisa usar essa ai que esta usando
Reply
#7

Quote:
Originally Posted by lKoDlFuLLaNNo
Посмотреть сообщение
pawn Код:
TextDrawSetString
mostra so pro player nao precisa usar essa ai que esta usando
Obrigado por Tentar ajudar novamente mas ... nгo resolvi com oq voзк falou pra substituir.
Reply
#8

atualize suas includes.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)