SA-MP Forums

Go Back   SA-MP Forums > SA-MP DL Edition > SA-MP 0.3.DL

Reply
 
Thread Tools Display Modes
Old 08/01/2019, 09:42 PM   #1
faff
Huge Clucker
 
Join Date: Mar 2012
Location: Belgium
Posts: 366
Reputation: 16
Default Custlm island - can not punch other people

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?
__________________
Code:
faff is offline   Reply With Quote
Old 08/01/2019, 10:09 PM   #2
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,855
Reputation: 1289
Default Re: Custlm island - can not punch other people

Yeah don't map so far out to sea.
Pottus is offline   Reply With Quote
Old 08/01/2019, 10:14 PM   #3
faff
Huge Clucker
 
Join Date: Mar 2012
Location: Belgium
Posts: 366
Reputation: 16
Default Re: Custlm island - can not punch other people

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?
__________________
Code:
faff is offline   Reply With Quote
Old 08/01/2019, 10:16 PM   #4
Baboon
Banned
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 920
Reputation: 348
Default Re: Custlm island - can not punch other people

Script a custom damage system. Or find one scripted already.
Baboon is offline   Reply With Quote
Old 09/01/2019, 10:16 PM   #5
faff
Huge Clucker
 
Join Date: Mar 2012
Location: Belgium
Posts: 366
Reputation: 16
Default Re: Custlm island - can not punch other people

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..
__________________
Code:
faff is offline   Reply With Quote
Old 10/01/2019, 11:59 AM   #6
Baboon
Banned
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 920
Reputation: 348
Default Re: Custlm island - can not punch other people

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"
Baboon is offline   Reply With Quote
Old 10/01/2019, 12:52 PM   #7
Kaliber
High-roller
 
Kaliber's Avatar
 
Join Date: Jun 2012
Location: Localhost
Posts: 1,067
Reputation: 149
Default Re: Custlm island - can not punch other people

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.
__________________
Kaliber is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to punch each other. iLearner Scripting Help 2 15/09/2017 11:24 AM
Punch animation NeamPojma Scripting Help 1 04/12/2015 04:43 PM
Detect Punch +REP! Gooday Scripting Help 4 12/03/2012 04:41 PM
Cant Punch or Knife Kitten Bug Reports 3 24/06/2011 06:14 AM
[Help]No Punch Placebo Help Archive 3 01/04/2011 05:30 AM


All times are GMT. The time now is 06:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.