[AJUDA] argument 3
#4

Aproveitando o tуpico, tentei criar mais um comando format aki, e deu erro...
Li o tutorial, mas nгo entendi muito bem, consigo aprender sу na prбtica rsrs

Mas agora tentei fazer da seguinte forma :
pawn Код:
format(gstring, sizeof(gstring), "--> Relatуrio Vip-Bronze de %s - ID[%d]: %s -->", pNome, iddele, lol, result);
e deu esse erro:
pawn Код:
C:\Documents and Settings\Alex Sander\Meus documentos\Downloads\SistemaV.pwn(388) : error 076: syntax error in the expression, or invalid function call
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Comando Inteiro:
pawn Код:
if(strcmp(cmdtext, "/relatorio" ,true)==0)
    {
       if(IsPlayerConnected(playerid))
       {
          if(PlayerVip[playerid] == 1)
          {
             new lol;
             lol = PlayerVip[playerid] == 1;
             format(gstring, sizeof(gstring), "--> Relatуrio Vip-Bronze de %s - ID[%d]: %s -->", pNome, iddele, lol, result);
             ABroadCast(COR_VIPB,gstring,1);
             SendClientMessage(playerid, COR_VIPB, "Seu relatуrio Vip foi enviado aos admins, aguarde uma resposta...");
          }
          return 1;
       }
       return 1;
    }
Alguйm pode me ajudar?
Reply


Messages In This Thread
[AJUDA] argument 3 - by kratty - 23.12.2011, 09:07
Re: [AJUDA] argument 3 - by [S]trong - 23.12.2011, 09:52
Re: [AJUDA] argument 3 - by kratty - 23.12.2011, 10:26
Re: [AJUDA] argument 3 - by kratty - 23.12.2011, 12:22
Re: [AJUDA] argument 3 - by RebeloX - 23.12.2011, 12:27
Re: [AJUDA] argument 3 - by kratty - 23.12.2011, 12:33
Re: [AJUDA] argument 3 - by RebeloX - 23.12.2011, 12:49
Re: [AJUDA] argument 3 - by kratty - 23.12.2011, 12:51
Re: [AJUDA] argument 3 - by RebeloX - 23.12.2011, 13:07
Re: [AJUDA] argument 3 - by kratty - 23.12.2011, 13:13

Forum Jump:


Users browsing this thread: 1 Guest(s)