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, 10:42 PM   #1
faff
Gangsta
 
Join Date: Mar 2012
Location: Belgium
Posts: 752
Reputation: 12
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, 11:09 PM   #2
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,243
Reputation: 1256
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, 11:14 PM   #3
faff
Gangsta
 
Join Date: Mar 2012
Location: Belgium
Posts: 752
Reputation: 12
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, 11:16 PM   #4
Baboon
High-roller
 
Baboon's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 1,622
Reputation: 341
Default Re: Custlm island - can not punch other people

Script a custom damage system. Or find one scripted already.
__________________
Baboon is online now   Reply With Quote
Old 09/01/2019, 11:16 PM   #5
faff
Gangsta
 
Join Date: Mar 2012
Location: Belgium
Posts: 752
Reputation: 12
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, 12:59 PM   #6
Baboon
High-roller
 
Baboon's Avatar
 
Join Date: Nov 2010
Location: The Netherlands
Posts: 1,622
Reputation: 341
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 online now   Reply With Quote
Old 10/01/2019, 01:52 PM   #7
Kaliber
Gangsta
 
Kaliber's Avatar
 
Join Date: Jun 2012
Location: Localhost
Posts: 991
Reputation: 132
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 12:24 PM
Punch animation NeamPojma Scripting Help 1 04/12/2015 05:43 PM
Detect Punch +REP! Gooday Scripting Help 4 12/03/2012 05:41 PM
Cant Punch or Knife Kitten Bug Reports 3 24/06/2011 07:14 AM
[Help]No Punch Placebo Help Archive 3 01/04/2011 06:30 AM


All times are GMT. The time now is 11:35 PM.


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