SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 30/08/2016, 01:51 PM   #1
Gasman
Little Clucker
 
Gasman's Avatar
 
Join Date: May 2015
Location: VietNam
Posts: 33
Reputation: 73
Cool JerryCan (BuRnInG AnyWherE)

JerryCan

Description

*With this script you can burn anywhere if you like***(Crazzzyyy)
Video&Picture

HUD

Poured Out & Fire




VIDEO IS OLD VERSION
Credits

pawn Code:
-Gasman a.k.a NhatNguyen-
    -Meta:->Thank for Fire script(BEST)
    -Incognito: Streamer
    -ZeeX: Zcmd
    -Mauzen: Mapandreas
    -Someone for some Function sorry i don't remember
How it work?

Command:
/jerrycan 1 to set player hold JerryCan
/jerryfuel to set player fuel jerrycan

Function:
pawn Code:
TogglePlayerHoldJerryCan(playerid, bool:toggle);
IsPlayerHoldingJerryCan(playerid);
TogglePlayerPouredOutPetrol(playerid, bool:toggle);
IsPlayerPetrolPouredOut(playerid);
Player how to use?

After set Jerrycan and Fuel Hold RIGHT MOUSE BUTTON if you want place Jerrycan on foot Press LEFT MOUSE BUTTON to place
Download


Last edited by Gasman; 31/08/2016 at 08:09 AM. Reason: Update fix some mistakes.
Gasman is offline   Reply With Quote
Old 30/08/2016, 02:27 PM   #2
Lumineux
Huge Clucker
 
Lumineux's Avatar
 
Join Date: Apr 2013
Location: Romania, Prahova
Posts: 238
Reputation: 2
Default Re: JerryCan (BuRnInG AnyWherE)

It's nice, but you have a little problem, at second 0:33. When you run out of fuel, you can see the Fire Extinguisher for about a half second.
Lumineux is offline   Reply With Quote
Old 30/08/2016, 02:50 PM   #3
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: JerryCan (BuRnInG AnyWherE)

A more realistic approach would be using ColAndreas, the new blood object in 0.3.7, texture leveling, and distance checks from the last position.
Crayder is offline   Reply With Quote
Old 30/08/2016, 03:35 PM   #4
Gasman
Little Clucker
 
Gasman's Avatar
 
Join Date: May 2015
Location: VietNam
Posts: 33
Reputation: 73
Default Re: JerryCan (BuRnInG AnyWherE)

@Lumineux because i use weapon FireEX to have animation. Thankyou.
@Crayder yes i think future will use colandreas. Blood object i use before but it not good so i use this object but i don't know check distance from the last pos for ? sorry.
Gasman is offline   Reply With Quote
Old 30/08/2016, 04:50 PM   #5
Crayder
Banned
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,324
Reputation: 652
Default Re: JerryCan (BuRnInG AnyWherE)

Quote:
Originally Posted by Gasman View Post
@Crayder yes i think future will use colandreas. Blood object i use before but it not good so i use this object but i don't know check distance from the last pos for ? sorry.
I will help you out later with the distance check and ColAndreas.

The blood object is definitely better for this than your current object. And by the way I'm talking about the smaller blood object, not the large particle one.

I'll also help you make the loops more efficient...

Edit: I made it sound like I'm forcing you to take my help... xD... You don't have to take my advice or help, I just like the idea of this script and want to help you make it better.
Crayder is offline   Reply With Quote
Old 30/08/2016, 05:19 PM   #6
XBrianX
Huge Clucker
 
Join Date: May 2015
Location: Dubai
Posts: 456
Reputation: 75
Default Re: JerryCan (BuRnInG AnyWherE)

I'm pretty sure you got this idea from GTA V xd

OT: Goodjob
XBrianX is offline   Reply With Quote
Old 30/08/2016, 07:13 PM   #7
[WSF]ThA_Devil
Gangsta
 
[WSF]ThA_Devil's Avatar
 
Join Date: Sep 2010
Location: United Kingdom
Posts: 662
Reputation: 55
Default Re: JerryCan (BuRnInG AnyWherE)

Nice, It'd be amazing if you could hook it into Give/GetPlayerWeapon and all the other weapon-related functions. There are ID's not used for anything, so assigning it one shouldn't be that difficult and would make it fit nicer in game and would not require any of these functions:

Quote:
TogglePlayerHoldJerryCan(playerid, bool:toggle);
IsPlayerHoldJerryCan(playerid);
TogglePlayerPouredOutPetrol(playerid, bool:toggle);
IsPlayerPouredOutPetrol(playerid);
But if not, I feel like some of them are worded a bit awkwardly.

Quote:
IsPlayerHoldJerryCan(playerid); should be IsPlayerHoldingJerryCan(playerid);

IsPlayerPouredOutPetrol(playerid); Should be - IsPlayerPetrolPouredOut or IsPlayerPetrolCanEmpty or something of sorts.
Think about these suggestions.

But overall, really great script. Love it!
__________________
Quote:
Originally Posted by Shinobu View Post
Somebody save me, I am not a server.
[WSF]ThA_Devil is offline   Reply With Quote
Old 31/08/2016, 05:36 AM   #8
Gasman
Little Clucker
 
Gasman's Avatar
 
Join Date: May 2015
Location: VietNam
Posts: 33
Reputation: 73
Default Re: JerryCan (BuRnInG AnyWherE)

@[WSF]ThA_Devil Thank you fix my mistakes and sorry because English isn’t my first language, so please excuse any mistakes. Your suggestions very nice i "think" in future it can hook into Give/GetPlayerWeapon but not now .
@Crayder Haha Thank. I'm new scripter so i extremely grateful if you help me make it better. I made filter script and release because i want someone help me handle the line of code and make it better to enhance its capabilities. I hope someday you have free time and you help me. XD
Gasman is offline   Reply With Quote
Old 31/08/2016, 07:31 AM   #9
SeanDenZYR
Big Clucker
 
Join Date: May 2016
Posts: 166
Reputation: 20
Default Re: JerryCan (BuRnInG AnyWherE)

its good, for like RP servers cause you can just go burn the street and cops will come and see it xD
SeanDenZYR 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
Player is burning p00jan Help Archive 2 09/01/2011 01:07 PM
Keep burning vehicle Cameltoe Help Archive 14 21/08/2010 04:17 PM
Jerrycan Error sjvt Help Archive 1 10/04/2010 05:40 PM
Burning iso to cd? Rozzie Everything and Nothing 3 20/01/2009 06:50 PM


All times are GMT. The time now is 06:01 PM.


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