[Ajuda] Abrir portгo
#1

Olб gente tudo bem?

Gostariam que me ajuda-se com meu codigo de abrir portгo na hq de admin's que meu mapper fez, nгo estou consiguindo colocar apenas para admin abrir.

pawn Код:
if(strcmp(cmd, "/abriradmin", true) == 0)
    {
    if (PlayerInfo[playerid][pAdmin] >= 1) && PlayerToPoint(15.0, playerid, 1878.9000244, 703.2999878, 12.5000000)) { //GateGaragem
// ja tentei assim tbm
//if(IsPlayerAdmin(playerid)) && PlayerToPoint(15.0, playerid, 1878.9000244, 703.2999878, 12.5000000)) { //GateGaragem
    MoveObject( DIEGOFDP, 1878.9000244, 703.2999878, 7.0000000,3);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s abriu este portгo!", sendername);
    ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
    SetTimer("adm2", 5000, false);
    } else {
    //SendClientMessage(playerid, COLOR_RED, "*** Voce nao esta perto do portao ou nao e ADMIN ***");
    }
    return 1;
    }
Reply


Messages In This Thread
Abrir portгo - by silvioradcliffe - 29.12.2012, 15:32
Re: Abrir portгo - by Nice-.- - 29.12.2012, 15:35
Re: Abrir portгo - by SkullFire - 29.12.2012, 15:36
Re: Abrir portгo - by TugaBR - 29.12.2012, 15:37
Respuesta: Abrir portгo - by silvioradcliffe - 29.12.2012, 15:40
Re: Abrir portгo - by Nice-.- - 29.12.2012, 15:42
Re: Abrir portгo - by mau.tito - 29.12.2012, 15:44
Re: Abrir portгo - by Sky™ - 29.12.2012, 15:44
Re: Abrir portгo - by MegalodoN - 29.12.2012, 15:47
Respuesta: Re: Abrir portгo - by silvioradcliffe - 29.12.2012, 15:54

Forum Jump:


Users browsing this thread: 1 Guest(s)