[Ajuda] cordenada
#5

Use o Streamer.

Nгo percebi muito bem o que vocк queria, mas deve ser isto:

pawn Код:
new checkpoint1;
new checkpoint2;

CMD:criarcheck1(playerid, params[])
{
    DestroyDynamicCP(checkpoint2);
    checkpoint1 = CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
    return 1;
}

CMD:criarcheck2(playerid, params[])
{
    DestroyDynamicCP(checkpoint1);
    checkpoint2 = CreateDynamicCP(Float:x, Float:y, Float:z, Float:size, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
    return 1;
}

public OnPlayerEnterDynamicCP(playerid, checkpointid)
{
    if(IsPlayerInDynamicCP(playerid, checkpoint1))
    {
        SendClientMessage(playerid, -1, "Estб no checkpoint 1");
    }
    else if(IsPlayerInDynamicCP(playerid, checkpoint1))
    {
        SendClientMessage(playerid, -1, "Estб no checkpoint 2");
    }
    return 1;
}
Reply


Messages In This Thread
cordenada - by Layer - 17.08.2013, 18:17
Re: cordenada - by Cidiei - 17.08.2013, 18:19
Re: cordenada - by Layer - 17.08.2013, 20:33
Re: cordenada - by Layer - 24.08.2013, 06:22
Re: cordenada - by bruxo00 - 24.08.2013, 11:01
Re: cordenada - by PT - 24.08.2013, 11:08
Re: cordenada - by Layer - 24.08.2013, 12:27
Re: cordenada - by SkullFire - 24.08.2013, 13:04
Re: cordenada - by Layer - 24.08.2013, 13:23
Re: cordenada - by darkxdll - 24.08.2013, 13:47

Forum Jump:


Users browsing this thread: 4 Guest(s)