Simple SendClientMessage help nedded
#1

this is the message of my jail system: (one guy from the forum made this)

How i can remove "jail time left"
pawn Код:
forward UnJail3(playerid);
public Unjail3(playerid)
{
    JailTime3[playerid]--;
    new string[100];
    if(JailTime3[playerid] % 5)
    {
        format(string,sizeof(string),"Jail time left: %d seconds.",JailTime3[playerid]);
        SendClientMessage(playerid,0xFFFFFFFF,string);
    }
    if(JailTime3[playerid] <= 0)
    {
        //teleport them out of jail
        JailTime3[playerid] = 0;
        KillTimer(JailTimer3[playerid]);
        SetPlayerPos(playerid, 246.4798,67.8764,1003.6406);
        SetPlayerInterior(playerid, 6);
        SetPlayerVirtualWorld(playerid, -1);
        SendClientMessage(playerid, COLOR_GOLD,"[INFO]You have been UnJailed, Now try to be a good civilian!");
    }
    return 1;
}
Reply


Messages In This Thread
Simple SendClientMessage help nedded - by Gooday - 06.01.2012, 15:40
Re: Simple SendClientMessage help nedded - by Vince - 06.01.2012, 15:43
Re: Simple SendClientMessage help nedded - by Gooday - 06.01.2012, 15:47
Re: Simple SendClientMessage help nedded - by Luis- - 06.01.2012, 15:49

Forum Jump:


Users browsing this thread: 1 Guest(s)