[Ajuda] esta dando warning - 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] esta dando warning (
/showthread.php?tid=449153)
esta dando warning -
iTzDemon - 07.07.2013
boas, esta dando um warning nao sei pq
linha do wawn
pawn Код:
TextDrawSetString(Text:Textdraw0, "Players Online %d/8",playersconnected);
warn
pawn Код:
C:\Users\Utilizador\Desktop\GM insaneforce\gamemodes\gm.pwn(206) : warning 202: number of arguments does not match definition
Re: esta dando warning -
Gii - 07.07.2013
pawn Код:
new Text:Players;
public OnGameModeInit() {
Players = TextDrawCreate(1.0, 5.6, "");
return 1;
}
new cStr[25];
format (cStr, sizeof cStr, "Players Online %d/8" playersconnected);
TextDrawSetString(Players, cStr);
TextDrawShowForPlayer(playerid, Players);
Re: esta dando warning -
iTzDemon - 07.07.2013
Quote:
Originally Posted by iCasTiel
pawn Код:
new Text:Players;
public OnGameModeInit() {
Players = TextDrawCreate(1.0, 5.6, ""); return 1; }
new cStr[25]; format (cStr, sizeof cStr, "Players Online %d/8" playersconnected); TextDrawSetString(Players, cStr); TextDrawShowForPlayer(playerid, Players);
|
obg mas se esqueceu de uma virgula
pawn Код:
format (cStr, sizeof cStr, "Players Online %d/8", playersconnected);