Some bugs.
#1

Hello i have a robbery checkpoint and its kinda bug + i dont know how to fix the bugs lol

pawn Код:
public Rob(playerid)
{
    new string[128];
    countn[playerid]--;
    format(string, sizeof(string), "Attempting robbery~n~~b~%i~n~~r~Stay in the checkpoint", countn[playerid]);
    TextDrawSetString(robbery, string);
    TextDrawShowForPlayer(playerid, robbery);
    if(!IsPlayerInDynamicCP(playerid, burgerrob))
    {
        SendClientMessage(playerid, COLOR_RED, "You are supposed to stay in the checkpoint!");
        KillTimer(dstimer[playerid]);
        TextDrawHideForPlayer(playerid, robbery);
    }
    if(countn[playerid]<=0)
    {
        if(IsPlayerInDynamicCP(playerid, burgerrob))
        {
            RobbedR = true;
            SetTimer("RR", 300000, false);
            GivePlayerMoney(playerid, random(50000));
            KillTimer(dstimer[playerid]);
            TextDrawHideForPlayer(playerid, robbery);
        }
    }
    return 1;
}
When your out the checkpoint it just spams you and doesnt stop until ur standing in the checkpoint again
also if say i was in checkpoint and i got 15k every player on the server would get 15 k
Reply


Messages In This Thread
Some bugs. - by thefatshizms - 16.09.2012, 14:24
Re: Some bugs. - by Cypress - 16.09.2012, 14:39
Re: Some bugs. - by thefatshizms - 16.09.2012, 15:05
Re: Some bugs. - by Cypress - 16.09.2012, 15:24
Re: Some bugs. - by thefatshizms - 16.09.2012, 17:22
Re: Some bugs. - by Cypress - 18.09.2012, 13:37
Re: Some bugs. - by thefatshizms - 18.09.2012, 14:23
Re: Some bugs. - by TaLhA XIV - 18.09.2012, 14:31
Re: Some bugs. - by thefatshizms - 19.09.2012, 14:19
Re: Some bugs. - by Cypress - 20.09.2012, 10:49

Forum Jump:


Users browsing this thread: 1 Guest(s)