Show CP after CP
#4

Quote:
Originally Posted by ZachKnoxx
Посмотреть сообщение
Don't quite know what you were asking for, but here is my go at it, although it is manual, tell me if you don't want it manual.

Код HTML:
public OnPlayerEnterDynamicCP(playeird, checkpointid)
{
    if(checkpointid == Checkpoint[0]) // Checks if the checkpointid equals to Checkpoint[0]
    {   
        SendClientMessage(playerid, 0xFFFFFFFF, "This is \"Checkpoint[0]\"");
        /*

        GivePlayerMoney(playerid, + 100);
    }
    if(checkpointid == Checkpoint[1]) // Checks if the checkpointid equals to Checkpoint[1]
    {
        SendClientMessage(playerid, 0xFFFFFFFF, "This is \"Checkpoint[1]\"");
        GivePlayerMoney(playerid, + 200);
        SetPlayerCheckpoint(playerid, xcoords,ycoords,zcoords, 3.0); // Manual way to set the players checkpoint
   
    }
    return 1;
}
I think that's sort of Car License system then follow one by one Checkpoints and finally obtain a license
in this case when player enter in first Checkpoint[0] shows Checkpoint[1] on map and after enter in [1] to give a Reward
Reply


Messages In This Thread
Show CP after CP - by Mey6155 - 18.05.2014, 14:42
Re: Show CP after CP - by rumen98 - 18.05.2014, 14:47
Re: Show CP after CP - by ZachKnoxx - 18.05.2014, 14:50
Re: Show CP after CP - by rumen98 - 18.05.2014, 14:54
Re: Show CP after CP - by Mey6155 - 18.05.2014, 15:42
Re: Show CP after CP - by rumen98 - 18.05.2014, 15:48
Re: Show CP after CP - by Mey6155 - 19.05.2014, 13:34
Re: Show CP after CP - by Mey6155 - 19.05.2014, 15:11
Re: Show CP after CP - by Mey6155 - 19.05.2014, 16:37
Re: Show CP after CP - by JFF - 19.05.2014, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)