[Ajuda] esta dando warning
#1

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

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);
Reply
#3

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);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)