OnPlayerEnterDynamicCP [+REP]
#7

Didn't work either.


And yes, I do have the checkpoint being created,
pawn Код:
Houses[idx][PickupID] = CreateDynamicCP(Houses[idx][EnterX], Houses[idx][EnterY], Houses[idx][EnterZ], 2.5, 0, 0, -1, 1.2);

EDIT: See, I dont even think the checkpoint is being created correctly.

I did this:
pawn Код:
public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    new string[64];
    for(new h = 0; h < sizeof(Houses); h++)
    {
        if(checkpointid == Houses[h][PickupID])
        {
            format(string, sizeof(string), "Checkpoint: %d", checkpointid);
            SendClientMessage(playerid, COLOR_GREEN, string);
        }
    }
    return 1;
}
That didn't even work. But when I walk into the checkpoint it appears, it just doesnt say nothing
Reply


Messages In This Thread
OnPlayerEnterDynamicCP [+REP] - by EliteApple - 22.01.2014, 03:18
Re: OnPlayerEnterDynamicCP [+REP] - by Copfan5 - 22.01.2014, 03:29
Re: OnPlayerEnterDynamicCP [+REP] - by EliteApple - 22.01.2014, 03:54
Re: OnPlayerEnterDynamicCP [+REP] - by Scenario - 22.01.2014, 05:02
Re: OnPlayerEnterDynamicCP [+REP] - by ]Rafaellos[ - 22.01.2014, 05:26
Re: OnPlayerEnterDynamicCP [+REP] - by VishvaJeet - 22.01.2014, 06:07
Re: OnPlayerEnterDynamicCP [+REP] - by EliteApple - 22.01.2014, 19:26
Re: OnPlayerEnterDynamicCP [+REP] - by laimalgirdas - 11.02.2015, 08:08

Forum Jump:


Users browsing this thread: 1 Guest(s)