[Ajuda] Cofre Org
#1

Jб criei os pickups, tudo certinho, a coordenada ta igual e tal, so que quando Aperto F ou Enter para acessar o cofre da org, Nao acontece NADA, oq tem de errado com o code ?

Код:
if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
			{
    	        TogglePlayerControllable(playerid, 0);
    			ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "{FF8200}Cofre Aztecas", "{00FF1E}Dinheiro\n{2C221A}Materiais\n{00EBFF}Maconha\n{FF00B9}Cocaina\n{FF0005}Crack", "Confirmar", "Cancelar");
			}
    	    else
    	    { SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й dos Aztecas !"); }
so peguei do aztecas senao ia ficar mt grande
Reply
#2

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{

if(newkeys == KEY_SECONDARY_ATTACK)
{
            if(PlayerInfo[playerid][pMembro] == 5 || PlayerInfo[playerid][pLider] == 5)
            {
            if (PlayerToPoint(playerid, 2.0,  1549.1999500,-1474.6999500,2806.3000500))
            {
            TogglePlayerControllable(playerid, 0);
            ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "{FF8200}Cofre Aztecas", "{00FF1E}Dinheiro\n{2C221A}Materiais\n{00EBFF}Maconha\n{FF00B9}Cocaina\n{FF0005}Crack", "Confirmar", "Cancelar");
            }
            else
            {
            SendClientMessage(playerid, COLOR_GREY, "   Vocк nгo й dos Aztecas !");
            }
        }
}


}
Aqui vocк coloca as coordenadas do local :

if (PlayerToPoint(playerid, 2.0, >>>>>>>>>1549.1999500,-1474.6999500,2806.3000500<<<<<))
Reply
#3

Posta o dialog 12.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)