06.09.2010, 23:08
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)
depois
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;
}
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;
}