Checkpoint timer
#1

hello. here is my work checkpoint timer:

pawn Код:
COMMAND:work(playerid, cmdtext)
{
    if (!IsPlayerInRangeOfPoint(playerid, 7.0, -64.1551,-1120.6709,1.0781))
    {
        return SendClientMessage(playerid, COLOR_RED, "You're not in range of the job");
    }
    else
    {
        SendClientMessage(playerid, blue, "Welcome to work!");
        SendClientMessage(playerid, yellow, "Please drive to the checkpoint to recieve your reward.");
        new thevehicle = CreateVehicle(498, -79.2382, -1128.1711, 1.0781, 0.0, 0, 0, 5000);
        PutPlayerInVehicle(playerid, thevehicle, 0);
        SetPlayerCheckpoint(playerid,1827.8311,-1075.7113,23.9317,3.0);
    }
    return 1;
}
how i make so "SetPlayerCheckpoint(playerid,1827.8311,-1075.7113,23.9317,3.0);" checkpoint can refresh every 2 seconds?
Reply


Messages In This Thread
Checkpoint timer - by TheDiscussionCafe - 03.06.2012, 23:09
Re: Checkpoint timer - by iGetty - 04.06.2012, 00:01
Re: Checkpoint timer - by [NWA]Hannes - 04.06.2012, 00:08
Re: Checkpoint timer - by MP2 - 04.06.2012, 01:01

Forum Jump:


Users browsing this thread: 1 Guest(s)