[Ajuda] Format
#1

Bem pessoal, um tempo atrбs eu tinha conseguido fazer isso direito, funcionando. Hoje fui tentar outra vez e nгo consegui, cуdigo abaixo:

pawn Код:
public OnPlayerClickPlayer(playerid, clickedid, source)
{
 new dstring[256];
 format(dstring, sizeof(dstring), "Nome: %s || Score: %d || Grana: %d", GetPlayerName(playerid), GetPlayerScore(playerid), GetPlayerMoney(playerid));
 ShowPlayerDialog(playerid, DIALOG_STATS, DIALOG_STYLE_MSGBOX, "STATUS", dstring, "Fechar", "");
 return 1;
}
Quando compilo me aparecem estes erros:
Код:
C:\Users\usuario\Desktop\Servidor\gamemodes\gangwar.pwn(466) : error 025: function heading differs from prototype
C:\Users\usuario\Desktop\Servidor\gamemodes\gangwar.pwn(469) : warning 202: number of arguments does not match definition
C:\Users\usuario\Desktop\Servidor\gamemodes\gangwar.pwn(469) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
Format - by Insidious - 30.07.2014, 17:33
Re: Format - by SW1FTmeister - 30.07.2014, 18:04
Re: Format - by RebeloX - 30.07.2014, 18:28
Re: Format - by Insidious - 30.07.2014, 18:40
Re: Format - by SW1FTmeister - 30.07.2014, 18:44
Re: Format - by MatheusAlcapone - 30.07.2014, 18:46
Re: Format - by Insidious - 30.07.2014, 19:07
Re: Format - by Schocc - 30.07.2014, 19:52
Re: Format - by Insidious - 30.07.2014, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)