[Ajuda] Descarregar
#10

pawn Код:
#define Escolher 6987 //Topo do GM

if (strcmp(cmd, "/pegarpizza", true) == 0)
{
    if(dini_Int(file, "Profissao") == SuaProf)
    {
if(IsPlayerInRangeOfPoint(playerid, 30.0, 375.6148,-2084.4404,7.8359)) return SendClientMessage(playerid, Vermelho, "| ERRO | Vocк nгo estб na area de pegar pizza...");
{
ShowPlayerDialog(playerid, Escolher, DIALOG_STYLE_LIST, string2, "Escolha um local \nLocal 1 ~g~ [500] \n Local 2 ~g~ [600]", "OK", "Cancelar");
return 1;
}
}
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if (dialogid == Escolher) // Menu
    {
        if (response)
        {
            if (listitem == 0) // Local 1
            {
                SetPlayerCheckpoint(playerid,X,Y,Z,6.0); //Check point no Radar do player ( 6. 0 ) o tamanho se n me engano
            }
            if (listitem == 1) // Local 2
            {
                SetPlayerCheckpoint(playerid,X,Y,Z,6.0);
            }
            }
            }
X Y Z Eas suas cordenadas blz
Reply


Messages In This Thread
Descarregar - by MoonRey - 25.07.2013, 16:09
Re: Descarregar - by WLSF - 25.07.2013, 16:12
Re : Descarregar - by MoonRey - 25.07.2013, 16:15
Re: Descarregar - by Standby - 25.07.2013, 16:19
Re: Descarregar - by WLSF - 25.07.2013, 16:19
Re: Descarregar - by LordShadow - 25.07.2013, 16:21
Re : Descarregar - by MoonRey - 25.07.2013, 16:26
Re: Descarregar - by WLSF - 25.07.2013, 16:29
Re : Descarregar - by MoonRey - 25.07.2013, 16:31
Re: Descarregar - by Standby - 25.07.2013, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)