Checkpoints Help!
#2

new timer; at top
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
    timer = SetTimer("rob", 1500, 0);

   
    return 1;
}
pawn Код:
public OnPlayerLeaveCheckpoint(playerid)
{
    KillTimer(rob);
    return 1;
}
pawn Код:
public rob(playerid)
{
    GivePlayerMoney(playerid, 1000);
    return 1;
}
im not sure how good that is because it hasnt been tested and im sure there is problems but that is the basic idea, you seem to be making alot of topics about cops and robbers scripts maybe we will make the whole thing for you?
Reply


Messages In This Thread
Checkpoints Help! - by StrickenKid - 28.02.2009, 21:15
Re: Checkpoints Help! - by brett7 - 28.02.2009, 21:38
Re: Checkpoints Help! - by StrickenKid - 28.02.2009, 21:50
Re: Checkpoints Help! - by brett7 - 28.02.2009, 21:56

Forum Jump:


Users browsing this thread: 1 Guest(s)