31.08.2012, 16:41
O Comando que ta dando isso й o /pp.
pawn Код:
//>-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
if(strcmp(cmd, "/pp", true) == 0)
{
if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 247.005905 , 72.448440 , 1003.640625) || PlayerInfo[playerid][pEmprego] == 2)
{
MoveObject( PDDOORa, 247.005905 , 72.448440 , 1006.912902,3,0.0,0.0,1260.0);
GameTextForPlayer(playerid, "~w~Porta das Celas ~n~~b~Aberto", 4000, 3);
SetTimer("GaragemDpClosed", 4000, false);
}
else
{
SendClientMessage(playerid, COLOR_GREY, " Vocк nгo estб perto do portгo ou nгo й um Oficial ");
}
return true;
}