[Ajuda] Checkpoint sumindo
#2

Quando vc cria um CP ele automaticamente se torna permanente, porйm a callback do CP retorna a funзгo que lhe й dada, segue exemplo:

PHP код:
public OnPlayerEnterCheckpoint(playerid)
{
    if(
IsPlayerInDynamicCP(playeridCP[playerid]))
        return 
SendClientMessage(playerid, -1"Vocк estб no CP");
    
    return 
1;

Nesse caso a Var CP[playerid] define a funзгo de criar o CP e nгo irб desaparecer atй que seja utilizado a funзгo DestroyDynamicCP(CP_VAR);
Reply


Messages In This Thread
Checkpoint sumindo - by RockstarL - 09.04.2016, 23:38
Re: CreateDynamicCP - by F1N4L - 10.04.2016, 02:12
Re: CreateDynamicCP - by RockstarL - 10.04.2016, 15:12
Re: CreateDynamicCP - by Stroon - 10.04.2016, 15:30
Re: CreateDynamicCP - by RockstarL - 10.04.2016, 15:55
Re: CreateDynamicCP - by F1N4L - 10.04.2016, 16:36
Re: CreateDynamicCP - by bruxo00 - 10.04.2016, 16:40
Re: CreateDynamicCP - by RockstarL - 10.04.2016, 17:44
Re: CreateDynamicCP - by Danzou - 10.04.2016, 18:34
Re: Checkpoint sumindo - by RockstarL - 10.04.2016, 19:23

Forum Jump:


Users browsing this thread: 2 Guest(s)