SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: RedFusion
Forum: Scripting Help 03/04/2019, 06:03 PM
Replies: 19
Views: 378
Posted By RedFusion
Re: Check if point is occupied

Or maybe you could make 2 arrays. One with all of the spawns unmodified, and one where the used spawns get removed as they get used. Then you simply remove it from the array and "compress" the array.
Forum: Scripting Help 02/04/2019, 04:34 PM
Replies: 3
Views: 203
Posted By RedFusion
Re: GetDynamicObjectPos & OnPlayerShootDynamicObject reading wrong coordinates

Here's a suggestion for you that might help accomplishing what you want: https://forum.sa-mp.com/showpost.php?p=1487836&postcount=2639
Forum: Scripting Help 02/04/2019, 04:32 PM
Replies: 8
Views: 275
Posted By RedFusion
Re: array index out of bounds

You can't initialize enumerators like that.
You need to assign a default value at runtime, preferrably at script init (OnGameModeInit / OnFilterScriptInit)
Forum: Scripting Help 02/04/2019, 04:29 PM
Replies: 9
Views: 609
Posted By RedFusion
Re: Explode vehicle immediately

You could run a loop and kill all the players inside the vehicle, and create an explosion at the position of the vehicle. But there is no way to make the vehicle explode immediately as far as i know.
Forum: Includes 31/03/2019, 05:56 PM
Replies: 8
[Include] Predator Missile
Views: 1,285
Posted By RedFusion
Re: Predator Missile

Make sure you followed the steps.
Forum: Includes 31/03/2019, 04:32 PM
Replies: 8
[Include] Predator Missile
Views: 1,285
Posted By RedFusion
Re: Predator Missile

EDIT: Wow that's strange. It does collide for me. Maybe you did something wrong with ColAndreas?
Forum: Includes 31/03/2019, 03:20 PM
Replies: 8
[Include] Predator Missile
Views: 1,285
Posted By RedFusion
Lightbulb Predator Missile

Predator Missile

What is it?
This script allows you to launch a remote controlled predator missile from anywhere.

How does it work?
The player that launches the missile enters spectating...
Forum: Scripting Help 24/03/2019, 09:43 PM
Replies: 15
Views: 1,329
Posted By RedFusion
Re: TextDraws disappear

I saw your PM's but ******* links get censored, i need to see all of the code in order to fix your problem. Where exactly is OnInfoLoad(playerid) called? Also, are you sure the textdraws are created...
Forum: Scripting Help 24/03/2019, 03:14 PM
Replies: 15
Views: 1,329
Posted By RedFusion
Re: TextDraws disappear

You still didn't share the command which you're using for showing the textdraws. We need to see that in order to spot the problem.
Forum: Includes 24/03/2019, 03:03 PM
Replies: 11
[Include] 1v1 Pong Minigame
Views: 3,195
Posted By RedFusion
Re: 1v1 Pong Minigame

Something out of the ordinary, looks awesome. 5/5!
Forum: Screenshots and Videos 24/03/2019, 02:34 PM
Replies: 8
Views: 967
Posted By RedFusion
Re: Predator Missile in SAMP

Thanks!


Did you share it? I'd like to see it!
Unfortunately it doesn't collide with vehicles so far, it uses ColAndreas.
Forum: Screenshots and Videos 24/03/2019, 12:40 PM
Replies: 8
Views: 967
Posted By RedFusion
Predator Missile in SAMP

Hi!
This idea originally popped in my mind many years ago, but back then i lacked the knowledge to make it happen.
Check out the result below! (I might release it after some more polishing).

...
Forum: Filterscripts 02/07/2018, 08:09 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Forum: Filterscripts 28/06/2018, 07:36 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Re: Fusez's Map Editor (Version 3) [Dynamic Categories] [Improved] [Best of Version 1&2 Combined]

It's already possible!


I've never made an API. But what i could do however, is adding the line "CreateDynamicObject" to the map loader.

And also i might add an user option to save the objects...
Forum: Filterscripts 17/06/2018, 10:44 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Forum: Scripting Help 12/06/2018, 08:39 PM
Replies: 2
Views: 353
Posted By RedFusion
Re: Bullet projectiles.

Yes, it should be possible.
I recommend you look up ColAndreas, and also pick up a book or study online about Trigonometry.
Forum: Filterscripts 08/06/2018, 01:32 PM
Replies: 6
Views: 5,435
Posted By RedFusion
Re: Underground Bunker [Elevator] [Security Doors] [Map Editor V3]

I like that part too! The thought behind it is that the electrician got too close to the conductor which lead to an electrical arc.
Forum: Filterscripts 06/06/2018, 04:07 PM
Replies: 6
Views: 5,435
Posted By RedFusion
Exclamation Underground Bunker [Elevator] [Security Doors] [Map Editor V3]

This is a showcase map made to show what my mapeditor is capable of.

I made a teaser thread some time ago and now it's time to release it!

Here's some brief information about the map / script....
Forum: Filterscripts 02/06/2018, 01:56 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Re: Fusez's Map Editor (Version 3) [Dynamic Categories] [Improved] [Best of Version 1&2 Combined]

Thank you!



You can't do that while the mapeditor is loaded. If you want the text gone, then feel free to modify the script to your needs - or just unload the mapeditor whenever you want the...
Forum: Filterscripts 01/06/2018, 02:21 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Re: Fusez's Map Editor (Version 3) [Dynamic Categories] [Improved] [Best of Version 1&2 Combined]

In the beginning this map editor used to have separate map files, and the raw data file was used for loading maps just like you're suggesting.


mapname.project containing raw data
...
Forum: Scripting Help 30/05/2018, 06:42 PM
Replies: 4
Views: 322
Posted By RedFusion
Re: Military Ship objects.

x,y,z parameters should be near the platform.
My suggestion is you get near those platforms using a jetpack or something, then save your coordinates.
Then remove these platforms using -1 as...
Forum: Scripting Help 30/05/2018, 06:08 PM
Replies: 4
Views: 322
Posted By RedFusion
Re: Military Ship objects.

Did you try this?
Forum: Filterscripts 22/05/2018, 09:50 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Re: Fusez's Map Editor (Version 3) [Dynamic Categories] [Improved] [Best of Version 1&2 Combined]

I'm glad you like it!



This script i was talking about can be found here, it will migrate the data of all buildings into your mapedit.db.
See Here:...
Forum: Filterscripts 21/05/2018, 04:11 PM
Replies: 93
Views: 47,285
Posted By RedFusion
Re: Fusez's Map Editor (Version 3) [Dynamic Categories] [Improved] [Best of Version 1&2 Combined]

A new patch has been released!
The map editor now features removebuilding support.

When updating to this patch, remember to also update your mapedit.db.
Please be aware that your categories...
Forum: Scripting Help 19/03/2018, 05:19 AM
Replies: 18
Views: 1,056
Posted By RedFusion
Re: on player enter checkpoint MAJOR BUG PLS HELP

Because you're using () instead of [].
To access the playerid index of the variable you need to use [playerid].
Showing results 1 to 25 of 500

 

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


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