[Help] " SetPlayerAttachedObject " No Show Object -- SetPlayerAttachedObject
#1

You see it.

if(strcmp(cmd,"/fireman") == 0)
{
if(PlayerInfo[playerid][pDonateRank] >= 4)
{
SetPlayerAttachedObject( playerid, 0, 18691, 1, -3.628666, 2.557187, -1.356414, 51.795341, 44.990257, 247.158721, 2.041157, 2.011405, 2.017693 );
SetPlayerAttachedObject( playerid, 1, 18728, 1, -3.628666, 2.557187, -1.356414, 51.795341, 44.990257, 247.158721, 2.041157, 2.011405, 2.017693 );
SendClientMessage(playerid,COLOR_SUPERRED,"เเม่งเอ ย พ่อมึงตายหรอ ฉีบหาย สัส ควย /off");
}
else return SendClientMessage(playerid,COLOR_GRAD2,"คุณไม่ใช่ Vip อยากทำได้ /vip สิค้าบบบ !");
}

No Show Object For Player T_T
Reply
#2

You need to create the object first, attach it to the player and then use SetPlayerAttachedObject();.
Reply
#3

I see.
Reply
#4

Do not see it.
Reply
#5

I do not understand.
Reply
#6

Firstly: https://sampwiki.blast.hk/wiki/CreateObject
Secondly: https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Then: https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

You don't use CreateObject(); and AttachObjectToPlayer(); in your script (at least you didn't show it).
Reply
#7

Wait while the Web.
Reply
#8

Okay ThankYou For You
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)