29.12.2014, 07:03
Hello , i want to make Objects in my gamemodes then i search it on ****** i found its wiki page there was an example :
I Copied it and tested and it works fine . Then i decided to make my own . So i made the following command
As you Can see both have Axis . hat1 is for HAT1 and hat2 is for HAT2 . But hat1 appears correctly but hat2 dont it is half in the player head (lol) and half appears . Moreover , it isn't in correct direction.
PHP код:
CMD:hat1(playerid , params[])
{
SetPlayerAttachedObject(playerid, 3, 19487, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, COLOR_GREY);
retun 1;
}
PHP код:
CMD:hat2(playerid , params[])
{
SetPlayerAttachedObject(playerid, 3, 18927, 2, 0.101, -0.0, 0.0, 5.50, 84.60, 83.7, 1, 1, 1, COLOR_GREY);
return 1;
}