Best-Killer Posted November 2, 2016 Share Posted November 2, 2016 in 2 month ago i find spawner creator in mtasa Community i was not need it but now i need it any one give me that url he know spawner creator !! it's complied one as i remmeber but i just need it to know what i do with my script cuz i'm creating one but my problem i want know how selecet that vehicles be in spawner when player hit example : White Spawner (Free spawners) adding it NRG , infurnes , Sanchez .... , white spawner number 2 has only infurnes , sanchez for let you know guys i'll use SQL for make the script Thx to all who can help me Link to comment
MTA Anti-Cheat Team Dutchman101 Posted November 2, 2016 MTA Anti-Cheat Team Share Posted November 2, 2016 (edited) You're asking 2 things on a different subject in here: - someone to remind you of which spawner that was on Community/link you it - wanting to know the inner workings, aka you'd favour to decompile it (won't get help with that here) or reproduce it with its features. (At most you can get scripting help here to develop a similar script that fits your needs, for that) It would've been better to create both questions in different forum sections (Resources, to ask for which one it was) and (Scripting, to get help patching it to your needs or develop similar) you can keep it like this (because what you want as script/need to get scripting support is reliant on identifying what resource it was) but I'm not sure if you'll see both questions answered to the best extent in that case. Furthermore I would suggest you just think of possible functions that resource you're talking about had, list them up here and get help here to script something that re-assembles it as much possible. (even if someone manages to remind you, you'll never get an idea of those functions from a compiled script).. just think of the functionality you want and you may even get function suggestions. Edited November 2, 2016 by Dutchman101 1 Link to comment
Best-Killer Posted November 2, 2016 Author Share Posted November 2, 2016 lol you're not right bro i was don't have any idea about that idea Spawners's Vehicles (that gridlist in gui ) look at this script i was searching for it please look at script screenshot to understand me what i was need https://community.multitheftauto.com/index.php?p=gallery&s=show&pic=16109 now i got what i need ! it's just about Spawners's Vehicles also i was making that :~ but now really i'm trying to learn Lua and thx for anyway Link to comment
MTA Anti-Cheat Team Dutchman101 Posted November 2, 2016 MTA Anti-Cheat Team Share Posted November 2, 2016 (edited) So you got what you needed to find: https://community.multitheftauto.com/index.php?p=resources&s=details&id=10589 But from what you said in first post ; 1 hour ago, Best-Killer said: but i just need it to know what i do with my script cuz i'm creating one but my problem i want know how selecet that vehicles be in spawner when player hit example : White Spawner (Free spawners) adding it NRG , infurnes , Sanchez .... , white spawner number 2 has only infurnes , sanchez for let you know guys i'll use SQL for make the script I understood you also wanted to know more about the code inside to modify something with ''how select vehicles that be in spawner when player hit..'' so that's why I suggested to clear more up about the part in scripting support you appeared to ask for. 9 minutes ago, Best-Killer said: lol you're not right bro look at this script i was searching for it please look at script screenshot to understand me what i was need https://community.multitheftauto.com/index.php?p=gallery&s=show&pic=16109 now i got what i need ! it's just about Spawners's Vehicles Now you found your needed resource (congrats), and turn out not (be more clear) to want scripting support, this will be moved to Resources section. Edited November 2, 2016 by Dutchman101 1 Link to comment
iPrestege Posted November 3, 2016 Share Posted November 3, 2016 So i think this what are you trying to do so read this example very well and understand it. local aMarkerOne = createMarker ( .... ) local aMarkerTwo = createMarker ( .... ) setElementData ( aMarkerOne,'aVehicles',1 ) setElementData ( aMarkerTwo,'aVehicles',2 ) local aMyVehicles = { [1] = { aID,aID,aID }; [2] = { aID,aID,aID }; } addEventHandler ( 'onClientMarkerHit',resourceRoot, function ( aHit ) if ( source == aMarkerOne or source == aMarkerTwo ) then if ( aHit and aHit == localPlayer and not isPedInVehicle( aHit ) and getElementData ( source,'aVehicles' ) ) then guiSetVisible ( aWnd,true ); guiGridListClear ( aGrid ); for _,aV in ipairs ( aMyVehicles [ getElementData ( source,'aVehicles' ) ] ) do guiGridListSetItemText ( aGrid,guiGridListAddRow ( aGrid ),1,getVehicleNameFromModel ( aV ),false,false ); end end end end ); Hope that help you make your script . @Best-Killer Link to comment
Best-Killer Posted November 3, 2016 Author Share Posted November 3, 2016 nope but thx ^^ i got what can help me ^^ pls help me here : Link to comment
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