Como Criar Tabela ?
#1

queria criar uma tabela ao passar encima do checkpoint ela abre
Reply
#2

ENGLISH:
Hello you would need to use onplayerentercheckpoint and when that player then enters the check point you are going to want to provide the dialog and disabletheplayerscheckpoint

PORTUGUESE:
Olб, vocк precisaria usar onplayerentercheckpoint e quando esse jogador entra no ponto de verificaзгo que vocк vai querer fornecer a caixa de diбlogo e disabletheplayerscheckpoint

https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint

https://sampwiki.blast.hk/wiki/ShowPlayerDialog


Also because I'm nice I don't you alittle example!

Код:
new PlayerCheckPontOne[MAX_PLAYERS];

CMD:ShowMeTheWay(playerid, params[])
{
    PlayerCheckPontOne[playerid] = 1;
    SetPlayerCheckpoint(playerid, COORDX, COORDY, COORDZ, 3.0);
    return true;
}

public OnPlayerEnterCheckpoint(playerid)
{
    if(PlayerCheckPontOne[playerid] == 1)
    {
        DisablePlayerCheckpoint(playerid);
        ShowPlayerDialog(playerid, dialogid, DIALOG_STYLE_MSGBOX, "Congrats", "You can follow directions!", "OK", "OK");
        return 1;
    }
    return 1;
}
Reply
#3

funcionou
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)