Attaching Objects [HELP]
#1

Hi , I want to attach an object to the player(SetPlayerAttachedObject) , but don't know the coordinations of the player body parts , any FS or program to do that ?
Reply
#2

Yea samp has a attachable FS .. its attachments.pwn its included with 0.3x / 0.3e package of samp server
Reply
#3

I've seen it , but when trying to /attachements , I get a dialog , once I chose something , nothing appear ,other Idea? thank you for your repply .
Reply
#4

Try this!
pawn Код:
SetPlayerAttachedObject(playerid, GetPVarInt(playerid, "AttachmentIndexSel"), GetPVarInt(playerid, "AttachmentModelSel"), listitem+1);
                EditAttachedObject(playerid, GetPVarInt(playerid, "AttachmentIndexSel"));
                SendClientMessage(playerid, 0xFFFFFFFF, "Hint: Use {FFFF00}~k~~PED_SPRINT~{FFFFFF} to look around.");
Reply
#5

Quote:
Originally Posted by theomanking
Посмотреть сообщение
Try this!
pawn Код:
SetPlayerAttachedObject(playerid, GetPVarInt(playerid, "AttachmentIndexSel"), GetPVarInt(playerid, "AttachmentModelSel"), listitem+1);
                EditAttachedObject(playerid, GetPVarInt(playerid, "AttachmentIndexSel"));
                SendClientMessage(playerid, 0xFFFFFFFF, "Hint: Use {FFFF00}~k~~PED_SPRINT~{FFFFFF} to look around.");
Can you please explain more ? (UP)
Reply
#6

Well I tried it , I get the error:
Код:
C:\Documents and Settings\PC\Bureau\DATABASE DE ALAE\SND\ICI\SWAT Vs TERRORISTS Server[TDM]\gamemodes\SVTS.pwn(2182) : error 017: undefined symbol "listitem"
Well I even don't know how this code will help me ...
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)