SA-MP Forums Archive
I need help with a few things - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I need help with a few things (/showthread.php?tid=455487)



I need help with a few things - ElAnonymous - 02.08.2013

Well, i want to solve some doubt's

1 It's possible to use AttachObjetc on Npc's? because i want to put an item to a Npc

2 It's possible to kill a Npc with hits? i mean with katana or Pool Cue or knife? cuz in all the servers i played the npc's can be killed with guns.

3 How i can record an escene for my mission?

4 How i can make a group or not group mission? what i have to use?

5 What i have to use for when any player dies appears a message in them monitor that it says "You are dead" besides, in red color?

And this last is not about the servers, is about the GTA SA

6 How i can replace a skin?

Well, i want to put this Joker skin.


In the body of this Skin.


To make something like this:


But always i try to replace, i got this:


Can you guys help me?

Ty


Re: I need help with a few things - Facerafter - 02.08.2013

I only know the first one...

You can use

pawn Код:
AttachObjectToPlayer(objectid, playerid, Float:OffsetX, Float:OffsetY, Float:OffsetZ, Float:rX, Float:rY, Float:rZ)
Just use the NPC id instead of the playerid