new ChamarKick[MAX_PLAYERS];
SendClientMessage(playerid, 0xFF3C41AA, "| ATENЗГO | Vocк tem 2 minutos para se registrar, caso ao contrario, sera kickado !");
ChamarKick[playerid] = SetTimerEx("KickTime", 10000, false, "i", playerid);
stock CriarDados(playerid)
hook OnPlayerConnect(playerid)
{
new ChamarKick[MAX_PLAYERS];
SendClientMessage(playerid, 0xFF3C41AA, "| ATENЗГO | Vocк tem 2 minutos para se registrar, caso ao contrario, sera kickado !");
ChamarKick[playerid] = SetTimerEx("KickTime", 10000, false, "i", playerid);
stock CriarDados(playerid)
{
KillTimer(ChamarKick[playerid]);
E:\UnderWorld\mod\FixosServidor\Registro.pwn(293) : error 017: undefined symbol "ChamarKick"
E:\UnderWorld\mod\FixosServidor\Registro.pwn(293) : warning 215: expression has no effect
E:\UnderWorld\mod\FixosServidor\Registro.pwn(293) : error 001: expected token: ";", but found "]"
E:\UnderWorld\mod\FixosServidor\Registro.pwn(293) : error 029: invalid expression, assumed zero
E:\UnderWorld\mod\FixosServidor\Registro.pwn(293) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
new ChamarKick[MAX_PLAYERS];
Vocк tem que criar variбvel de timers fora de call backs.
Coloque essa variбvel no inнcio do seu gamemode. PHP код:
|