[Ajuda] Portхes bugando
#4

Quote:
Originally Posted by Panico622
Посмотреть сообщение
pawn Код:
//No OnGameModeInit
PDGATE = F_CreateObject( 980, 1545.50000000, -1628.40002441, 15.19999981,0.00000000,0.00000000,270.00000000);

//No OnPlayerCommandText
        if(strcmp(cmd, "/pe", true) == 0)
    {
        if ((IsACop(playerid)) && PlayerToPoint(15.0, playerid, 1545.50000000,-1628.40002441,15.19999981))
        {
            MoveObject( PDGATE, 1544.400,-1628.097, 7.353,3,3.0,0.00000000,0.00000000,270.00000000);
            GameTextForPlayer(playerid, "~w~Garagem Externa ~n~~b~Aberta", 5000, 3);
            SetTimer("pd2", 5000, false);
        }
        return 1;
    }
//No final do gamemode
public pd2()
{
    MoveObject(PDGATE,1545.50000000, -1628.40002441, 15.19999981,3.0,0.00000000,0.00000000,270.00000000);//GaragemClosed
    return true;
}
Tinha que ter trocado: MoveObject por F_MoveObject
Reply


Messages In This Thread
Portхes bugando - by Brazuca[]s - 18.07.2012, 00:15
Re: Portхes bugando - by Brazuca[]s - 18.07.2012, 00:25
Re: Portхes bugando - by Panico622 - 18.07.2012, 00:26
Re: Portхes bugando - by Brazuca[]s - 18.07.2012, 00:33

Forum Jump:


Users browsing this thread: 1 Guest(s)