SetPlayerAttachedObject -
Lucky™ - 11.08.2013
Hey guys, got some small problem.
Let's say, when someone choose some class when login that player will get some objects [SetPlayerAttachedObject], but the problem is some of those objects won't show up.
If there are 7 objects, just 3-4 will show. Any idea how to fix that?
Re: SetPlayerAttachedObject -
cray1100 - 11.08.2013
Maybe, there is a limit, let me check...
Re: SetPlayerAttachedObject -
Lucky™ - 11.08.2013
Quote:
Originally Posted by cray1100
Maybe, there is a limit, let me check...
|
I've checked something in SA-MP Wiki and found this
https://sampwiki.blast.hk/wiki/Limits
Attached player objects - 10 [maximum - 0.3x]
Still I can't show up more than 4-5 objects
Re: SetPlayerAttachedObject -
cray1100 - 11.08.2013
Hmm... I dont see why, yet someone else might, anyone got any ideas? All your objects, are they attached to the same body part...?
Re: SetPlayerAttachedObject -
Lucky™ - 11.08.2013
Quote:
Originally Posted by cray1100
Hmm... I dont see why, yet someone else might, anyone got any ideas? All your objects, are they attached to the same body part...?
|
Nope, They are attached to different different parts.
Re: SetPlayerAttachedObject -
BullseyeHawk - 11.08.2013
What about the index id's? Do you use different indexes for each attached object?
Re: SetPlayerAttachedObject -
Lucky™ - 11.08.2013
Quote:
Originally Posted by BullseyeHawk
What about the index id's? Do you use different indexes for each attached object?
|
Yeah, I'm using different indexes
Re: SetPlayerAttachedObject -
Psymetrix - 11.08.2013
Post your code that attaches the object.
Re: SetPlayerAttachedObject -
Lucky™ - 11.08.2013
Quote:
Originally Posted by Psymetrix
Post your code that attaches the object.
|
pawn Код:
SetPlayerAttachedObject(playerid, 0, 19314, 2, 0.1089, 0.0000, 0.0000, -5.4999, -8.3000, -2.8999, 1.0000, 1.0000, 1.0000, 0, 0);
SetPlayerAttachedObject(playerid, 1, 19515, 1, 0.0740, 0.0509, 0.0000, 0.0000, 0.0000, 0.0000, 1.0000, 1.0000, 1.0000, 0, 0);
SetPlayerAttachedObject(playerid, 2, 19514, 2, 0.1000, 0.0000, 0.0000, 0.0000, 0.0000, 0.0000, 1.0000, 1.0000, 1.0000, 0, 0);
SetPlayerAttachedObject(playerid, 3, 2041, 6, 0.1790, 0.0000, 0.0819, 4.2999, -0.8999, 82.6000, 1.0000, 1.0000, 1.0000, 0, 0);
SetPlayerAttachedObject(playerid, 4, 2041, 5, 0.2440, 0.0179, -0.0419, 134.5999, 0.0000, 84.9000, 1.0000, 1.0000, 1.0000, 0, 0);
SetPlayerAttachedObject(playerid, 5, 2590, 1, -0.5350, -0.1229, -0.1779, 0.0000, -107.1999, 3.4999, 1.0000, 1.0000, 1.0000, 0, 0);
SetPlayerAttachedObject(playerid, 6, 2589, 1, -4.7890, -0.0979, 0.3429, 0.0000, -86.7000, 0.0000, 1.0000, 1.0000, 1.0000, 0, 0);}
^^ Some of them won't show up.
Re: SetPlayerAttachedObject -
Lucky™ - 11.08.2013
B-BRING
U-UP
M-MY
P-POST