26.03.2013, 16:55
No, that is not prob. I have same problem, it worked just fine and suddenly *puf* it stopped working, I fixed that by calling custom Kick function send message then set timer for 2 sec to kick player.
This is how it looks now
and this is how it looked before
This is how it looks now
pawn Код:
stock KickEx(playerid, reason[], increase = 0){
if(increase) PlayerInfos[playerid][pKicks]++;
SendClientMessage(playerid, COLOR_RED, reason);
SetTimerEx("PlayerKick", 2000, false, "d", playerid);
return 1;
}
function:PlayerKick(playerid){
Kick(playerid);
return true;
}
pawn Код:
stock KickEx(playerid, reason[], increase = 0){
if(increase) PlayerInfos[playerid][pKicks]++;
SendClientMessage(playerid, COLOR_RED, reason);
Kick(playerid);
return 1;
}