Problema con abrir estй garage
#1

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
Reply
#2

"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.
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)