[Help] Help with this code
#1

So i downloaded this Fs which is a holster script and there is 1 thing i need help fixing and it looks dumb having it like that like the spray can is near the NPC/Ped's own feet which i want it on the waist like it was acting like a mace for the LSPD i tried fixing it but it got more like its going into the shoes

Код:
case 41: if(GetPlayerWeapon(i) != 41) SetPlayerAttachedObject( i, 7, 365, 12, 0.174919, -0.004211, -0.142508, 0.000000, 270.000000, 0.000000, 1.000000, 1.000000, 1.000000 );
Reply
#2

Did you change the offset?
Reply
#3

Quote:
Originally Posted by Luke_James
Посмотреть сообщение
Did you change the offset?
The what?
Reply
#4

Try this:
PHP код:
case 41: { if(GetPlayerWeapon(i) != 41) { SetPlayerAttachedObjecti7365120.174919, -0.004211, -0.1425080.000000270.0000000.0000001.0000001.0000001.000000 ); } } 
Reply
#5

Quote:
Originally Posted by BigGreen
Посмотреть сообщение
The what?
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)