[Ajuda] Erro em checagem de comando
#1

PHP код:
CMD:loteria(playeridparams[])
    {
            if 
PlayerToPoint(2playerid,822.0087,1.7976,1004.1797) || PlayerToPoint(2playerid,822.0084,6.1601,1004.1797) || PlayerToPoint(2playerid,822.0084,4.2043,1004.1797) && PlayerToPoint(2playerid,822.0084,-0.1904,1004.1797,94.7460);
            if(
PlayerInfo[playerid][pLottoNr] > 0)return SendClientMessage(playeridCOLOR_GREY"   Vocк jб tem um bilhete de loteria !");
            if(
GetPlayerMoney(playerid) < 10)return SendClientMessage(playeridCOLOR_GREY"   Vocк nгo tem R$10 para pagar o nъmero de loteria !");
            new 
lottonr;
            if(
sscanf(params"d"lottonr))return SendClientMessage(playeridCOLOR_WHITE,"USE: /loteria [nъmero]");
            if(
lottonr || lottonr 50)return SendClientMessage(playeridCOLOR_GREY"   Nъmero da loteria, de 1 a 50 !");
            new 
string[128];
            
format(stringsizeof(string), "* Vocк comprou um bilhete de loteria com nъmero: %d."lottonr);
            
SendClientMessage(playeridCOLOR_LIGHTBLUEstring);
            
GiveDinheiro(playerid, - 10);
            
PlayerInfo[playerid][pLottoNr] = lottonr;
            return 
true;
    } 
Код HTML:
C:\Users\Usuario\Desktop\Brasil Better City\gamemodes\BPS.pwn(76167) : warning 202: number of arguments does not match definition
C:\Users\Usuario\Desktop\Brasil Better City\gamemodes\BPS.pwn(76167) : error 001: expected token: "*then", but found ";"
C:\Users\Usuario\Desktop\Brasil Better City\gamemodes\BPS.pwn(76167) : error 036: empty statement
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply


Messages In This Thread
Erro em checagem de comando - by JuniorTheDM - 24.04.2015, 22:18
Re: Erro Nao Consigo Arrumar - by Gii - 24.04.2015, 22:22
Re: Erro Nao Consigo Arrumar - by SkullFire - 24.04.2015, 22:25
Re: Erro Nao Consigo Arrumar - by Lуs - 24.04.2015, 22:25
Respuesta: Erro em checagem de comando - by JuniorTheDM - 24.04.2015, 22:30
Re: Respuesta: Erro em checagem de comando - by SkullFire - 24.04.2015, 22:32
Respuesta: Erro em checagem de comando - by JuniorTheDM - 24.04.2015, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)