SA-MP Forums Archive
[Question] bodypart and modded skins - 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: [Question] bodypart and modded skins (/showthread.php?tid=491822)



[Question] bodypart and modded skins - Reboma - 01.02.2014

Hello,

My question is that the OnPlayer(Take/Give)Damage callbacks detect the correct bodypart if the player or the attacker have modded the target skin?
E.g if the modded skin taller or smaller than the original.

Thank you for the answers.


Re: [Question] bodypart and modded skins - Flake. - 01.02.2014

The damage is calculated by using server sided skins, the person's mods won't effect it.


Re: [Question] bodypart and modded skins - Rapgangsta - 02.02.2014

What about animations?


Re: [Question] bodypart and modded skins - Mauzen - 02.02.2014

Quote:
Originally Posted by (*|Flake|*)
Посмотреть сообщение
The damage is calculated by using server sided skins, the person's mods won't effect it.
Sure? Wouldnt be unlagged if the server did that.


Re: [Question] bodypart and modded skins - Macluawn - 02.02.2014

There are no such thing as "server sided skins". I would guess that its done on the client in which case modded skins can affect the data. Although it would be good to know an answer from someone who actually knows.


Re: [Question] bodypart and modded skins - Abagail - 02.02.2014

I'd have to assume that SA:MP uses body coordinates rather than specific skin details... But, I may be wrong, just as anyone else could be... It would make more sense if it was Body Coordinates rather than actual skin details though.

This forum requires that you wait 240 seconds between posts. Please try again in 110 seconds.