16.05.2015, 20:31
hello, it's very strange attachObjectToObject dosent work, it bug or what ?,?
my code
..........
my code
PHP код:
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
mainobj = CreateDynamicObject(19467, x+2,y+2,z+5, 180.00000, 0.00000, 90.00000);
sk = CreateDynamicObject(19157, -0.20710, -0.01810, -1.57830, 0.00000, -180.00000, 0.00000);
AttachDynamicObjectToObject(sk,mainobj, -0.20710, -0.01810, -1.57830, 0.00000, -180.00000, 0.00000, 1);