A few questions. - 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: A few questions. (
/showthread.php?tid=315274)
A few questions. -
Dokins - 02.02.2012
One:
How do I attach objects to players and in that how do I know that they will go in the correct position and how do I get this position... i.e
19142 SWATArmour1
I wanted to attach this armour to them perfectly, how would I do that or...
How would I attach a laser to a gun or a specific gun or use /laser
Two:
How could I create a message that if a player shoots a player a text draw appears on the players screen telling of the damage they done (if they hit the person) - I guess OnPlayerShootPlayer.
Third:
If I were to create a fishing system....How would I make a specific fish really rare to catch?
Fourth:
In a mysql query, how would I create an MDC system that if I typed in someones name would contain: records of crimes, Players vehicles, address etc?(I have them of course.)
Re: A few questions. -
thimo - 02.02.2012
AttachObjectToPlayer and i think this function will just automaticly search for the persons position... Altough you have to add the bone where you want to add the object to.
Re: A few questions. -
Dokins - 02.02.2012
the "bone"?
Re: A few questions. -
Dokins - 02.02.2012
Someone please assist me.
Re: A few questions. -
thimo - 02.02.2012
Nevermind about the bone i had the wrong function in ma head. Go here for the attach:
https://sampwiki.blast.hk/wiki/AttachObjectToPlayer
Re: A few questions. -
Dokins - 03.02.2012
Still not resolved.
Re: A few questions. -
Dokins - 06.02.2012
Bump.