new PortaoJunior;
forward PortaoJunior();
PortaoJunior = CreateObject(980,1540.19995117,-1841.40002441,15.30000019,0.00000000,0.00000000,26 9.9999694
; //potao
if(strcmp(cmd, "/ppreg", true) == 0)
{
if ((IsAGOV(playerid)) && PlayerToPoint(15.0, playerid, 1540.19995117,-1841.40002441,15.30000019))
{
F_MoveObject( PortaoJunior, 1540.19995117,-1841.40002441,15.30000019,3);
GameTextForPlayer(playerid, "~w~Porta Prefeitura Garagem ~n~~b~Aberta", 5000, 3);
SetTimer("PortaoJunior", 5000, false);
}
return 1;
}
public PortaoJunior()
{
F_MoveObject(PortaoJunior,1540.19995117,-1841.40002441,15.30000019, 2);//GaragemClosed
return 1;
}