[Ajuda] Checkpoint
#10

Nгo precisa de streamer para isso, basta utilizar variaveis:

pawn Код:
//TOPO:
new cp_all[MAX_PLAYERS];

// Adcionar CP:
SetPlayerCheckpoint(playerid,x,y,z,radio);
cp_all[playerid] = 1;

// Qualquer lugar:
public OnPlayerEnterCheckpoint(playerid) {
    if(cp_all[playerid] == 1) {
    // Dialog
    }
    DisablePlayerCheckpoint(playerid);
    return 1;
}
desculpe se estiver errado, estou digitando pelo celular ai й osso..
Reply


Messages In This Thread
Checkpoint - by WotusPower - 01.05.2013, 20:05
Re: Checkpoint - by bruxo00 - 01.05.2013, 20:13
Re: Checkpoint - by WotusPower - 01.05.2013, 20:21
Re: Checkpoint - by bruxo00 - 01.05.2013, 20:40
Re: Checkpoint - by iCracker - 01.05.2013, 20:41
Re: Checkpoint - by FixSkuL - 01.05.2013, 21:24
Re: Checkpoint - by WotusPower - 01.05.2013, 22:39
Re: Checkpoint - by MarcosRodrigo - 01.05.2013, 22:40
Re: Checkpoint - by WotusPower - 01.05.2013, 22:57
Re: Checkpoint - by HumildadeAgain - 01.05.2013, 23:21

Forum Jump:


Users browsing this thread: 1 Guest(s)