[Ajuda] Help "undefined" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Help "undefined" (
/showthread.php?tid=513016)
Help "undefined" -
Holl - 14.05.2014
Код:
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);
Re: Help "undefined" -
Fenix4000 - 14.05.2014
Kd as linhas do erro meu colega ?
Re: Help "undefined" -
Holl - 14.05.2014
Quote:
Originally Posted by Fenix4000
Kd as linhas do erro meu colega ?
|
Pronto .. coloquei no topico.
Re: Help "undefined" -
lKoDlFuLLaNNo - 14.05.2014
pawn Код:
format(InfoString, sizeof(InfoString), "Ping: ~w~%d", tdping);
TextDrawSetString(ping[playerid], InfoString);
tenta no topo do gm/fs
Re: Help "undefined" -
Holl - 14.05.2014
Quote:
Originally Posted by lKoDlFuLLaNNo
pawn Код:
format(InfoString, sizeof(InfoString), "Ping: ~w~%d", tdping); TextDrawSetString(ping[playerid], InfoString);
tenta no topo do gm/fs
|
kk cara vlw meio passo feito .. o horas resolvido agora "PlayerTextDrawSetString" eu n posso colocar oq tu me falou se n vai zoa tudo ... .
Re: Help "undefined" -
lKoDlFuLLaNNo - 14.05.2014
mostra so pro player nao precisa usar essa ai que esta usando
Re: Help "undefined" -
Holl - 14.05.2014
Quote:
Originally Posted by lKoDlFuLLaNNo
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.
Re: Help "undefined" -
tonisantolia - 14.05.2014
atualize suas includes.