[ajuda]Portгo bugado
#1

Bom galera hj o meu server loto bom ai o pessoal comeзo reclamar pra eu coloco pros advogados poder abrir o portгo que vai para os Presos dentro da Dp bom ai blz fui no CMD do /pp e coloquei pra advogado abrir blz ai dps um cara me chamou falando que ele nгo conseguia abrir ele й policial mas antes dava pra abrir foi depois que eu coloquei o CMD.
Antes(original)
pawn Код:
if(strcmp(cmd, "/pp", true) == 0)
    {
    if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 247.005905 , 72.448440 , 1003.640625)) {
    MoveObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s Abriu Este Portao!", sendername);
    ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
    SetTimer("GaragemDpClosed", 5000, false);
    } else {
    SendClientMessage(playerid, COLOR_RED, "*** Vocк nгo estб perto do portao ou nao e PM/PC/B.O.P.E ***");
    }
    return 1;
    }
depois

pawn Код:
if(strcmp(cmd, "/pp", true) == 0)
    {
    if ((IsACop(playerid))((PlayerInfo[playerid][pEmprego] != 2)) && PlayerToPoint(15.0, playerid, 247.005905 , 72.448440 , 1003.640625)) { //GateInteriorCela
    MoveObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3);
    GetPlayerName(playerid, sendername, sizeof(sendername));
    format(string, sizeof(string), "* %s Abriu Este Portao!", sendername);
    ProxDetector(4.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
    GameTextForPlayer(playerid, "~g~Aberto", 5000, 3);
    SetTimer("GaragemDpClosed", 5000, false);
    } else {
    SendClientMessage(playerid, COLOR_RED, "*** Vocк nгo estб perto do portao ou nao e PM/PC/B.O.P.E ***");
    }
    return 1;
    }
Reply
#2

mUito facil isso faz assim coloca os ida das orgs que e para abrir e o numero do emprego acho que resolve se nao de certo fala ai
Reply
#3

Код:
if ((IsACop(playerid)) || PlayerInfo[playerid][pEmprego] != 2)) && PlayerToPoint(15.0, playerid, 247.005905 , 72.448440 , 1003.640625)) { //GateInteriorCela
Try it.
Reply
#4

Quote:
Originally Posted by Renato_Pollo
Посмотреть сообщение
mUito facil isso faz assim coloca os ida das orgs que e para abrir e o numero do emprego acho que resolve se nao de certo fala ai
vei й tipo pra coloca soh os cara do emprego saca entende vei mas ja consegui...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)