[resolvido]Erros...
#1

oia ai eu crio o cmd e o erro:

pawn Код:
new grana[] = {
  5000,
  500,
  1,
  10000,
  100000,
  100,
    2
};
pawn Код:
if(strcmp(cmd, "/roubarbanco", true) == 0)
  {
    GivePlayerMoney(playerid, grana[random(7)];
    return 1;
  }
e da esse erro:

pawn Код:
Samp\gf.pwn(10272) : error 001: expected token: ",", but found ";"
Reply
#2

pawn Код:
if(strcmp(cmd, "/roubarbanco", true) == 0)
{
    GivePlayerMoney(playerid, grana[random(7)]);
    return 1;
}
Reply
#3

Quote:
Originally Posted by DarK TeaM PT
pawn Код:
if(strcmp(cmd, "/roubarbanco", true) == 0)
{
    GivePlayerMoney(playerid, grana[random(7)]);
    return 1;
}
vlv vei funfo
Reply
#4

vlw cara, me deu idea...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)