SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 23/12/2017, 04:01 PM   #21
iAmir
Big Clucker
 
iAmir's Avatar
 
Join Date: May 2017
Posts: 69
Reputation: 113
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

New Update :

Code:
Removed y_hook and using ALS Method.
Added new function : DestroyWater(waterid);
code optimized more than before.
Unlimited water objects ! (create big waters as much as you want !)
PHP Code:
DestroyWater(waterid);
// returns 0 if ID is not available , returns 1 if it can destory water 
---------------------------------------------------------------------------------


Quote:
Originally Posted by Ramin View Post
Cool
Quote:
Originally Posted by SyS View Post
Nice
Quote:
Originally Posted by Matz View Post
Great idea
Thanks.
__________________

Last edited by iAmir; 30/12/2017 at 01:41 AM.
iAmir is offline   Reply With Quote
Old 23/12/2017, 04:16 PM   #22
IlanZ
High-roller
 
IlanZ's Avatar
 
Join Date: Jul 2016
Location: Brasil
Posts: 1,372
Reputation: 75
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

Nice job.
IlanZ is offline   Reply With Quote
Old 23/12/2017, 07:42 PM   #23
iAmir
Big Clucker
 
iAmir's Avatar
 
Join Date: May 2017
Posts: 69
Reputation: 113
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

Quote:
Originally Posted by IlanZ View Post
Nice job.
Thanks!
__________________
iAmir is offline   Reply With Quote
Old 29/12/2017, 11:01 PM   #24
iAmir
Big Clucker
 
iAmir's Avatar
 
Join Date: May 2017
Posts: 69
Reputation: 113
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

New Update:

Code:
v1.0 (can be used without any bugs , fixed jumping issue)
Fixed jumping issue with addin invisible object.
Added 2 new parameter to CreateWater as world and interior.
Jump issue fixed , I'll add video with fixed version; smooth movements and clear.
now you can add virtual world and interior to you water.

-------------------------------------------------------------------------

New Video uploaded and link added to first post.
(video of fixed and new version) smooth and clear!
__________________

Last edited by iAmir; 03/02/2018 at 01:49 PM.
iAmir is offline   Reply With Quote
Old 03/02/2018, 02:57 PM   #25
iAmir
Big Clucker
 
iAmir's Avatar
 
Join Date: May 2017
Posts: 69
Reputation: 113
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

NEW UPDATE

Added new parameter : type to main function (CreateWater)
now yolu can create water with 4 different types !

Water Types:
PHP Code:
enum
{
    
WATER_TYPE_LIGHT,
    
WATER_TYPE_NORMAL,
    
WATER_TYPE_DARK,
    
WATER_TYPE_CLOUDY

__________________
iAmir is offline   Reply With Quote
Old 03/02/2018, 03:01 PM   #26
BulletRaja
Banned
 
Join Date: Dec 2017
Location: India
Posts: 228
Reputation: 20
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

iamir sir i thought to use this script for my server but when i used it my markers got bugged so plese fix it my yellow markers got bugged when i enter in it the plyer starts swimming
BulletRaja is offline   Reply With Quote
Old 03/02/2018, 03:04 PM   #27
iAmir
Big Clucker
 
iAmir's Avatar
 
Join Date: May 2017
Posts: 69
Reputation: 113
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

Quote:
Originally Posted by BulletRaja View Post
iamir sir i thought to use this script for my server but when i used it my markers got bugged so plese fix it my yellow markers got bugged when i enter in it the plyer starts swimming
What is yellow marker ? I don't get what you trynna say .
__________________
iAmir is offline   Reply With Quote
Old 03/02/2018, 04:15 PM   #28
BulletRaja
Banned
 
Join Date: Dec 2017
Location: India
Posts: 228
Reputation: 20
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

PICKUP ID: 1559

My Interiors/Exteriors are using this pickup id but when i use your include its gets bugged

Clearly: When i use the water include i tried to go in my interiors my player started swimming in their he cant go
to shop/etc
BulletRaja is offline   Reply With Quote
Old 04/02/2018, 08:06 PM   #29
webby
Little Clucker
 
webby's Avatar
 
Join Date: Aug 2017
Location: Navodari
Posts: 35
Reputation: 2
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

I can create my custom water at custom positions?
webby is offline   Reply With Quote
Old 04/02/2018, 08:09 PM   #30
cuber
Gangsta
 
cuber's Avatar
 
Join Date: Oct 2016
Posts: 748
Reputation: 121
Default Re: CreateWater.inc | Create Custom Waters and Swim in them!!

Quote:
Originally Posted by BulletRaja View Post
PICKUP ID: 1559

My Interiors/Exteriors are using this pickup id but when i use your include its gets bugged

Clearly: When i use the water include i tried to go in my interiors my player started swimming in their he cant go
to shop/etc
best bug report ever
cuber 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
Can I create my own include file for my custom map? terasss2 Scripting Help 3 30/01/2015 05:19 PM
How to create this custom class menu Kanoru Scripting Help 1 25/12/2014 07:55 PM
Create Custom Model Object help me chuck100 Scripting Help 1 27/05/2013 01:07 PM
[Map] [Help] How can I create a custom interior? InsaniManES Maps 7 24/03/2011 07:50 AM


All times are GMT. The time now is 03:55 AM.


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