22.11.2014, 04:06
its not a bug
its just a coding mistakes
you can fix that with this
its just a coding mistakes
you can fix that with this
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/Timer", true))
{
if(Connect[playerid])
{
KillTimer(Connect[playerid]);
Connect[playerid]=0;
}
Connect[playerid] = SetTimerEx("Test", 1000, true, "i", playerid);
return 1;
}
if(!strcmp(cmdtext, "/Killer", true))
{
if(Connect[playerid])
{
KillTimer(Connect[playerid]);
Connect[playerid]=0;
}
return 1;
}
return 0;
}