Player Objects
#1

How i Attach Objects to Player When a player type /1886 and This object attach to player Can its possibale
If yes So Help Me
Reply
#2

try this >> https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Reply
#3

i didn't understand make a attach player object command like when player type 18646
That Object attach To player Make It !!!
Reply
#4

like this >>



pawn Код:
if (strcmp("/18646", cmdtext, true, 10) == 0)
    {
        AttachObjectToPlayer( 18646, playerid, 1.5, 0.5, 0, 0, 1.5, 2 );
        SendClientMessage(playerid, 0xE60000FF, "the object have been successfully attached");
        return 1;
    }
Reply
#5

this object not attaching ? to player
Only showing that text the object have been successfully attached" but not attaching object to player
Help
Reply
#6

Sorry For double Post
But Help Me:
Reply
#7

https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject

You can use Hold Studio to edit them.

https://sampforum.blast.hk/showthread.php?tid=182317
Reply
#8

HI Its donw i made Objects and I makea command for attaching object
This Is Command and its working object attaching
Quote:

if (strcmp("/mombo", cmdtext, true, 10) == 0) { SetPlayerAttachedObject( playerid, 0, 362, 1, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); SendClientMessage(playerid, 0xE60000FF, "the object have been successfully attached"); return 1; }

But How i get it deactive it means when player type /mombo it attach to player and when player type /mombooff object remover from player
Help Expert's Plz
Reply
#9

pawn Код:
RemovePlayerAttachedObject(playerid, SLOT);
Reply
#10

Add where on That Command ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)