Michael_Tuner Posted March 10, 2010 Posted March 10, 2010 Can anyone give me an example of fxaddsparks? I never understood how would you show dirX , dirY and dixZ, count
50p Posted March 10, 2010 Posted March 10, 2010 fxAddSparks( 0, 0, 3, 0, 0, 1 ) Creates sparks at 0, 0, 3 which fly in Z direction (1 unit). Why don't you try the values yourself? - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
Michael_Tuner Posted March 10, 2010 Author Posted March 10, 2010 setting x, y, z for element position will create the spark there. right? I have one:- funtion = fxAddSpark () onPlayerWasted x,y,z = getplayerposition fxAddSparks ( x, y, z,[float force=4, int count=1 float acrossLineX=0, float acrossLineY=0, float acrossLineZ=1, bool blur=false, float spread=5, float life=3] ) end
karlis Posted March 10, 2010 Posted March 10, 2010 setting x, y, z for element position will create the spark there. right?I have one:- funtion = fxAddSpark () onPlayerWasted x,y,z = getplayerposition fxAddSparks ( x, y, z,[float force=4, int count=1 float acrossLineX=0, float acrossLineY=0, float acrossLineZ=1, bool blur=false, float spread=5, float life=3] ) end lol its so wrong! first of all use [/code], and heres how it should look like: --ClientSide! addEventHandler("onClientPlayerWasted",getRootElement(),function() x,y,z = getElementPosition(getLocalPlayer()) fxAddSparks ( x, y, z, 4, 1, 0, 0, 1, false, 5, 3 ) end) sory, but according what i saw till scripting the simplest things you need learn much much much more [code=lua]your script [WIP]GTA IV style hud+custom blips + blip text + circular radar areas
Michael_Tuner Posted March 11, 2010 Author Posted March 11, 2010 (edited) Can you explain me about this? And will this be visible to the killer? and other too? your script[/code.] Edited March 11, 2010 by Guest
robhol Posted March 11, 2010 Posted March 11, 2010 setting x, y, z for element position will create the spark there. right?I have one:- funtion = fxAddSpark () onPlayerWasted x,y,z = getplayerposition fxAddSparks ( x, y, z,[float force=4, int count=1 float acrossLineX=0, float acrossLineY=0, float acrossLineZ=1, bool blur=false, float spread=5, float life=3] ) end What is this.. I don't even Listen, you have a very, very long way to go even in completely basic Lua syntax. Get a tutorial and READ it before trying any more. Do NOT PM ME for help unless invited. - New MTA Script Editor Scripting help "etiquette": understandable language, relevant code (ALL code if unsure), [Lua] tags, error messages with line numbers. Super simple stuff.
karlis Posted March 11, 2010 Posted March 11, 2010 Can you explain me about this? And will this be visible to the killer? and other too? your script[/code.]use it in forum reply tags for proper script showing format [WIP]GTA IV style hud+custom blips + blip text + circular radar areas
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now