MySQL save while Kick/Ban
#5

Maybe this can solved
Code:
new kickuser;
CMD:kick(playerid, params[])
{
    if(params != INVALID_PLAYER_ID || params != playerid)
    {
        if(sscanf(params, "i", kickuser)){
            //Your save Callback or Code
            SetTimerEx("KickUser",10000,0,"i",kickuser); //10 Second is better with callback
        }
     }
     return 1;
}
forward KickUser(kickuser);
public KickUser(kickuser)
{
     Kick(kickuser);
     return 1;
}
Reply


Messages In This Thread
MySQL save while Kick/Ban - by MichiCZ - 29.03.2020, 14:39
Re: MySQL save while Kick/Ban - by SiaReyes - 29.03.2020, 15:24
Re: MySQL save while Kick/Ban - by Nuginity - 30.03.2020, 04:46
Re: MySQL save while Kick/Ban - by brianrestup - 30.03.2020, 06:57
Re: MySQL save while Kick/Ban - by GeorgeLimit - 30.03.2020, 12:41

Forum Jump:


Users browsing this thread: 1 Guest(s)