SA-MP Forums Archive
Problema con abrir estй garage - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: Problema con abrir estй garage (/showthread.php?tid=542650)



Problema con abrir estй garage - MaikelRincon - 21.10.2014

Quiero abrir estй por asн decirlo "Palito"



Ese, asн tengo las funciones y el comando

CMD:abrirgarage(playerid,params[]) {
MoveDynamicObject(GMeca[0],1287.4000000,-1635.9000000,12.5000000,1.0);
MoveDynamicObject(GMeca[1],1287.4000000,-1649.1000000,12.5000000,1.0);
return 1;
}
CMD:cerrargarage(playerid,params[]) {
MoveDynamicObject(GMeca[0],1287.4000000,-1642.9000000,12.5000000,1.0);
MoveDynamicObject(GMeca[1],1287.4000000,-1643.1000000,12.5000000,1.0);
return 1;
}

new GMeca[2];

GMeca[0] =CreateDynamicObject(969,1287.4000000,-1642.9000000,12.5000000,0.0000000,0.0000000,90.000 0000); //garage1
GMeca[1] = CreateDynamicObject(969,1287.4000000,-1643.1000000,12.5000000,0.0000000,0.0000000,270.00 00000); //garage2

No me funciona



Re: Problema con abrir estй garage - Ochenta - 21.10.2014

"This function can be used to make objects rotate smoothly. In order to achieve this however, the object must also be moved. The specified rotation is the rotation the object will have after the movement. Hence the object will not rotate when no movement is applied. For a script example take a look at the ferriswheel.pwn filterscript made by Kye included in the server package (SA-MP 0.3d and above)."

Wiki SAMP.


Re: Problema con abrir estй garage - SickAttack - 21.10.2014

https://sampforum.blast.hk/showthread.php?tid=348907