CreateDynamicCp [REP++]
#5

you must add return 1; under every checkpoints like :
pawn Код:
if(checkpointid == cp1)
    {
    DestroyDynamicCP(cp1);
    RemovePlayerMapIcon(playerid, i1);
    i2 = SetPlayerMapIcon(playerid, 1, 2380.4260,-1366.8895,24.0000, 0, COLOR_RED, MAPICON_GLOBAL);
    SendClientMessage(playerid, COLOR_ORANGE, "Go to the next checkpoint");
    cp2 = CreateDynamicCP(2380.4260,-1366.8895,24.0000,3, -1, -1, playerid, 100.0);
return 1; // here
    }
Reply


Messages In This Thread
CreateDynamicCp [REP++] - by nezo2001 - 28.01.2015, 19:04
Re: CreateDynamicCp [REP++] - by Sime30 - 28.01.2015, 19:12
Re: CreateDynamicCp [REP++] - by nezo2001 - 28.01.2015, 19:24
Re: CreateDynamicCp [REP++] - by Sime30 - 28.01.2015, 19:58
Re: CreateDynamicCp [REP++] - by M0HAMMAD - 28.01.2015, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)