SA-MP Forums Archive
AttachedObject - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: AttachedObject (/showthread.php?tid=198182)



AttachedObject - Morino_Reigan - 11.12.2010

Hello, I want to attach Hard Heat( ID:18638 ), but obtained not good:



Is it normal?

Код:
if(strcmp("head",cmdtext[1],true)==0)
	{
	   	SetPlayerAttachedObject(playerid,3,18638,2);
	    return 1;
	}



Re: AttachedObject - Morino_Reigan - 11.12.2010

Quote:
Originally Posted by Hoborific
Посмотреть сообщение
You need to "offset" it.
for example?


Re: AttachedObject - WillyP - 11.12.2010

Use Slice's holdobject creator.


Re: AttachedObject - Morino_Reigan - 11.12.2010

Quote:

SetPlayerAttachedObject(playerid,2,18638,2,0.00000 00001,0.000000001,0.0,0.0,0.0,0.0,2.0,1.2,1.5);