[Ajuda] Erro com KillTimer.
#1

Olб galera, hoje to aqui para pedir ajuda com um erro no KillTimer, o erro й esse ai (Nгo sei por pawn num quadrado):
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : error 028: invalid subscript (not an array or too many subscripts): "Piscar2"
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : warning 215: expression has no effect
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

A linha й essa:
KillTimer(Piscar2[playerid]);

Desde jб, agradeзo!
Reply
#2

Quote:
Originally Posted by Junplid
Посмотреть сообщение
Olб galera, hoje to aqui para pedir ajuda com um erro no KillTimer, o erro й esse ai (Nгo sei por pawn num quadrado):
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : error 028: invalid subscript (not an array or too many subscripts): "Piscar2"
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : warning 215: expression has no effect
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC\Desktop\GamesModes\SV\gamemodes\SV.pwn (38080) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.

A linha й essa:
KillTimer(Piscar2[playerid]);

Desde jб, agradeзo!
mande o comando por favor.
Reply
#3

Cara ta ali "A lina й essa KillTimer(Piscar2[playerid]);"
Reply
#4

Quote:
Originally Posted by Junplid
Посмотреть сообщение
Cara ta ali "A lina й essa KillTimer(Piscar2[playerid]);"
a linha eu sei que ta mais quero entender o comando para poder lhe ajudar
Reply
#5

Nгo й um comando xD
case 0: // Detalhes piscando
{
TogglePlayerControllable(playerid, 1);
HideMenuForPlayer(RDetalhes, playerid);
SetTimerEx("Piscar", 2000, false, "i", playerid);
SetTimerEx("DBranco", 500, false, "i", playerid);
TextDrawHideForPlayer(playerid, EstrelaRosa[playerid]);
TextDrawHideForPlayer(playerid, EstrelaRosa2[playerid]);
TextDrawHideForPlayer(playerid, TrasoRosa[playerid]);
TextDrawHideForPlayer(playerid, EstrelaAzul[playerid]);
TextDrawHideForPlayer(playerid, EstrelaAzul2[playerid]);
TextDrawHideForPlayer(playerid, TrasoAzul[playerid]);
TextDrawHideForPlayer(playerid, EstrelaBran[playerid]);
TextDrawHideForPlayer(playerid, EstrelaBran2[playerid]);
TextDrawHideForPlayer(playerid, TrasoBran[playerid]);
TextDrawHideForPlayer(playerid, EstrelaAma[playerid]);
TextDrawHideForPlayer(playerid, EstrelaAma2[playerid]);
TextDrawHideForPlayer(playerid, TrasoAma[playerid]);
KillTimer(Piscar2[playerid]);
KillTimer(Piscar3[playerid]);
KillTimer(Piscar4[playerid]);
}
Reply
#6

pawn Код:
new Piscar2[MAX_PLAYERS];

Piscar2[playerid] = SetTimerEx("Piscar", 2000, false, "i", playerid);
Funзгo assim?
Reply
#7

Cara o erro ta ali no KillTimer '-'
Reply
#8

Achei o erro, esse link que vocк mandou ajudou muito, obrigado!
Reply
#9

[pawn]
KillTimer(kilzin[playerid]);
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)