23.12.2011, 12:22
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 :
e deu esse erro:
Comando Inteiro:
Alguйm pode me ajudar?
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);
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.
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;
}