SA-MP Forums Archive
ayudar SetPlayerAttachedObject - 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: ayudar SetPlayerAttachedObject (/showthread.php?tid=595157)



ayudar SetPlayerAttachedObject - pedrotvr - 28.11.2015

їPuede alguien ayudarme a poner la caja en la mano como en la imagen?




Код:
CMD:box(playerid) { // Next time, use map editor to get coordinates. 
	SetPlayerSpecialAction(playerid, SPECIAL_ACTION_CARRY);
	AttachObjectToPlayer(box1, playerid, 1.5, 0.5, 0.0, 0.0, 1.5, 2);
	return 1;
}



Re: ayudar SetPlayerAttachedObject - pedrotvr - 29.11.2015

??


Respuesta: ayudar SetPlayerAttachedObject - INKISICION - 29.11.2015

Usa EditAttachedObject(playerid, slot);

&

OnPlayerEditAttachedObject

y con todo eso definido imprimes el resultado como el ejemplo de abajo


new string[110];
format(string,sizeof string," bla bla bla", bla,bla,bla);
printf(string);


Re: Respuesta: ayudar SetPlayerAttachedObject - pedrotvr - 30.11.2015

Gracias