[Ajuda] warning 213 tag mismatch
#1

Meu comando de /setskin estб dando esse warning 213: tag mismatch

pawn Код:
CMD:setskin(playerid,params[])
{
    new Float:skin , string[60];
    if(sscanf(params, "i", skin)) return SendClientMessage(playerid, -1, "Use /setskin [0-311].");

    if(skin < 0 || skin > 311) return SendClientMessage(playerid, -1, "Escolha apenas valores entre 0 e 311.");

    format(string, sizeof(string), "Vocк setou sua skin para %.f", skin);
    SendClientMessage(playerid, -1, string);
    SetPlayerSkin(playerid, skin);
    return 1;
}
ai estб o comando quem poder me ajudar obrigado
Reply
#2

Nгo pode ser um float, tem que ser um inteiro!
PHP код:
new skin
Reply
#3

Quote:
Originally Posted by cicinho
Посмотреть сообщение
Nгo um float, й um inteiro!
PHP код:
new skin
nem tinha percebido tinha copiado o comando de um float e esqueci dessa parte obg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)