SA-MP Forums Archive
Custlm island - can not punch other people - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP DL Edition (https://sampforum.blast.hk/forumdisplay.php?fid=92)
+--- Forum: SA-MP 0.3.DL (https://sampforum.blast.hk/forumdisplay.php?fid=90)
+--- Thread: Custlm island - can not punch other people (/showthread.php?tid=662712)



Custlm island - can not punch other people - faff - 08.01.2019

Hello. I've a problem on a custom island. Players can not do melee damage to each other. Fire-arms work properly though. I think this occurs because the island is mapped far into the sea. Is there any work-around to solve this problem?


Re: Custlm island - can not punch other people - Pottus - 08.01.2019

Yeah don't map so far out to sea.


Re: Custlm island - can not punch other people - faff - 08.01.2019

Quote:
Originally Posted by Pottus
View Post
Yeah don't map so far out to sea.
Well, I didn't map it. Anyway.. Is there a work-around? I'm not in the mood of moving the whole gamemode since it'll take like a shitload of days to do this.

Will SetWorldBoundaries be a solution?


Re: Custlm island - can not punch other people - Baboon - 08.01.2019

Script a custom damage system. Or find one scripted already.


Re: Custlm island - can not punch other people - faff - 09.01.2019

Quote:
Originally Posted by Baboon
View Post
Script a custom damage system. Or find one scripted already.
I bet 'OnPlayerTakeDamage' isn't even called if I can not physically damage the player?
Also still the anims are missing and such..


Re: Custlm island - can not punch other people - Baboon - 10.01.2019

Quote:
Originally Posted by faff
View Post
I bet 'OnPlayerTakeDamage' isn't even called if I can not physically damage the player?
Also still the anims are missing and such..
Think out of the box. Get the players angle, use a defined distance and check if a player is near that point when you "attack"


Re: Custlm island - can not punch other people - Kaliber - 10.01.2019

ooor...take the map and put it under the 4096 Coords Limit.

You can move the map complete. There is something like a map mover.

And then make a worldBounds, so no one can get to the normal cities.