Traffic Cone flattens.
#1

When I attach the Traffic Cone to my player,
It's flat.
I am sure one of the cords is causing it. Un-sure what one.

pawn Код:
SetPlayerAttachedObject(playerid, 0, 1238,6,0.050000, 0.05, -0.4, 0.000000, 0.000000, 0.000000,0.80,1, 0);
Reply
#2

Its the index.

PHP код:
SetPlayerAttachedObject(playerid41238,6,0.0500000.05, -0.40.0000000.0000000.000000,0.80,10); 
This should work.
Reply
#3

Still does it.
Reply
#4

Quote:
Originally Posted by Lynn
Посмотреть сообщение
Still does it.
Mm, try it like this

PHP код:
SetPlayerHoldingObject(playeridmodelidboneFloat:fOffsetXFloat:fOffsetYFloat:fOffsetZFloat:fRotXFloat:fRotYFloat:fRotZ
Reply
#5

That's not a SAMP Native.
Reply
#6

Your right

That function was removed in 0.3c R1
Reply
#7

Sorry about that, I'm half drunk, anyway did you

PHP код:
#define SetPlayerHoldingObject(%1,%2,%3,%4,%5,%6,%7,%8,%9) SetPlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1,%2,%3,%4,%5,%6,%7,%8,%9)
#define StopPlayerHoldingObject(%1) RemovePlayerAttachedObject(%1,MAX_PLAYER_ATTACHED_OBJECTS-1)
#define IsPlayerHoldingObject(%1) IsPlayerAttachedObjectSlotUsed(%1,MAX_PLAYER_ATTACHED_OBJECTS-1) 
Then replace it with this

PHP код:
SetPlayerAttachedObject(playerid412386); 
Sorry again
Reply
#8

Thanks man. It works now.
Reply
#9

Quote:
Originally Posted by Lynn
Посмотреть сообщение
Thanks man. It works now.
No Problem, man, Sorry again.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)