06.09.2011, 22:00
pawn Код:
if(strcmp(cmd, "/portaodetran", true) == 0 || strcmp(cmd, "/pdt", true) == 0)
{
if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 2071.13818359,-1868.08886719,16.09180832))
{ //PortaoAdmin
F_MoveObject( PortaoDetran, 2071.13818359,-1868.08886719,6.09180832,3);
GameTextForPlayer(playerid, "~w~Portao Patio ~n~~b~Aberto", 5000, 3);
SetTimer("PortaoDetran1", 5000, false);
}
/*else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "*** Vocк nao esta perto do portao ou nao e Reporter ***");
}*/
return 1;
}