[Ajuda] Erro na gm
#1

minha gm ta dando esse erros nao to conseguindo resolver pode ser facil mais nao to conseguindo me ajuda pf

Code:
Core.pwn(436) : error 001: expected token: ",", but found "sizeof"
Core.pwn(436) : warning 215: expression has no effect
Core.pwn(436) : warning 215: expression has no effect
Core.pwn(436) : error 012: invalid function call, not a valid address
Core.pwn(436) : warning 215: expression has no effect
Core.pwn(436) : error 001: expected token: ";", but found ")"
Core.pwn(436) : fatal error 107: too many error messages on one line
essa e linha do erro
Code:
format(string, sizeof(string), "~r~Nick: ~w~%s", pNome(playerid));
codigo completo

Code:
public OnPlayerUpdate(playerid)
{
new string[46], pNome[24];
    GetPlayerName(playerid, pNome, 24);

    format(string sizeof(string), "~r~Nick: ~w~%s", pNome(playerid));
    PlayerTextDrawSetString(playerid, Textdraw1[playerid][0], string);
    PlayerTextDrawShow(playerid, Textdraw1[playerid][0]);
}
Reply


Messages In This Thread
Erro na gm - by alexsandrofelix - 07.03.2019, 00:56
Re: Erro na gm - by NWDMadara - 07.03.2019, 01:32
Re: Erro na gm - by ChavesS - 08.03.2019, 06:00
Re: Erro na gm - by Don_Speed - 08.03.2019, 08:14
Re: Erro na gm - by zHellSync - 08.03.2019, 13:40
Re: Erro na gm - by alexsandrofelix - 09.03.2019, 14:56
Re: Erro na gm - by Don_Speed - 09.03.2019, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)