30.05.2013, 18:39
Olб galera eu tenho relogio up mais eu queria que apareci-se so dps que compra-se ele como fasso isso eu tentei e nгo consiguir
static TemRelogio[MAX_PLAYERS] = 0;
// quando comprar
TemRelogio[playerid] = 1;
// caso tenha
if(TemRelogio[playerid] == 1)
{
// txd
return 1;
}
if(TemRelogio[playerid] == 1)
SetTimerEx("RelogioUP", 1000, true, "i", i);
UPRelogio[i] = TextDrawCreate(501.000000, 6.000000, " ");
TextDrawBackgroundColor(UPRelogio[i], 255);
TextDrawFont(UPRelogio[i], 1);
TextDrawLetterSize(UPRelogio[i], 0.509999, 1.299999);
TextDrawColor(UPRelogio[i], -1);
TextDrawSetOutline(UPRelogio[i], 1);
TextDrawSetProportional(UPRelogio[i], 1);
if(TemRelogio[playerid] == 1)
{
// txd
return 1;
}
if(TemRelogio[playerid] == 1)
{
SetTimerEx("RelogioUP", 1000, true, "i", i);
UPRelogio[i] = TextDrawCreate(501.000000, 6.000000, " ");
TextDrawBackgroundColor(UPRelogio[i], 255);
TextDrawFont(UPRelogio[i], 1);
TextDrawLetterSize(UPRelogio[i], 0.509999, 1.299999);
TextDrawColor(UPRelogio[i], -1);
TextDrawSetOutline(UPRelogio[i], 1);
TextDrawSetProportional(UPRelogio[i], 1);
}
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2608) : error 017: undefined symbol "i"
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2609) : error 017: undefined symbol "i"
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2610) : error 017: undefined symbol "i"
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2611) : error 017: undefined symbol "i"
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2612) : error 017: undefined symbol "i"
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2613) : error 017: undefined symbol "i"
C:\Users\pppp\Desktop\MeuRPG\gamemodes\RPG.pwn(2614) : error 017: undefined symbol "i"