Timer text showing up twice HELP
#1

The 'Checking if you got one life point' and all the other sendclientmessages in the timer shows up twice and i set the timer under onplayerspawn, whats the problem?


pawn Код:
SendClientMessage(playerid, COLOR_WHITE, "Checking if you got one life point..");
    SetTimerEx("Life", 10000, 0, "i", playerid);

pawn Код:
forward Life(playerid);
public Life(playerid)
{
    if(pInfo[playerid][pLife] == 1)
    {
        if(pInfo[playerid][pAdmin])
        {
            SendClientMessage(playerid, COLOR_WHITE, "You cant have 1 life point without asking the owner!");
            TogglePlayerControllable(playerid, 1);
        }
        else
        {
            SendClientMessage(playerid, COLOR_WHITE, "You have 1 life point which has been removed from the script please tell an admin to remove it.");
        }
    }
    else
    {
        SendClientMessage(playerid, COLOR_WHITE, "Loaded! you can play now.");
    }
    return 1;
}
Reply


Messages In This Thread
Timer text showing up twice HELP - by Danialdano - 09.01.2014, 12:56
Re: Timer text showing up twice HELP - by offon - 09.01.2014, 12:59
Re: Timer text showing up twice HELP - by Danialdano - 09.01.2014, 13:01
Re: Timer text showing up twice HELP - by offon - 09.01.2014, 13:04
Re: Timer text showing up twice HELP - by Danialdano - 09.01.2014, 13:09
Re: Timer text showing up twice HELP - by offon - 09.01.2014, 13:11
Re: Timer text showing up twice HELP - by Danialdano - 09.01.2014, 13:15
Re: Timer text showing up twice HELP - by offon - 09.01.2014, 13:17
Re: Timer text showing up twice HELP - by Danialdano - 09.01.2014, 13:22
Re: Timer text showing up twice HELP - by offon - 09.01.2014, 13:25

Forum Jump:


Users browsing this thread: 2 Guest(s)