papam77 Posted March 24, 2013 Share Posted March 24, 2013 Hello, i made video from newest update. But i wanna make functions to NPCs. Example: I will come around NPC max. 2meters and then i will press Left Alt then i will in mode. NPC near hunter = Hunter arena. Script must work as lobby, everything in one server. With functions i must use ? Link to comment
golanu21 Posted March 24, 2013 Share Posted March 24, 2013 setPedControlState createColRectangle "onColShapeHit" Link to comment
papam77 Posted March 24, 2013 Author Share Posted March 24, 2013 And how can add gamemode to any NPC ? Hunter NPC will has Hunter gamemode. Link to comment
golanu21 Posted March 24, 2013 Share Posted March 24, 2013 what you want? i don't understand, to add gamemode to npc ??, you can't setPedControlState Link to comment
golanu21 Posted March 24, 2013 Share Posted March 24, 2013 wait, you want to your npc, to have a gui ??, if you click on the NPC to appear a GUI ??? Link to comment
papam77 Posted March 24, 2013 Author Share Posted March 24, 2013 wait, you want to your npc, to have a gui ??, if you click on the NPC to appear a GUI ??? Yes, try connect to TG server and you will see. Link to comment
papam77 Posted March 24, 2013 Author Share Posted March 24, 2013 This https://www.youtube.com/watch?v=_zvgZCD5mdM 0:33 Link to comment
MIKI785 Posted March 24, 2013 Share Posted March 24, 2013 You asked for the functions, he told you what you need. That's: setPedControlState createColRectangle "onColShapeHit" And GUI or dx Functions for whatever action. Link to comment
golanu21 Posted March 24, 2013 Share Posted March 24, 2013 You asked for the functions, he told you what you need.That's: setPedControlState createColRectangle "onColShapeHit" And GUI or dx Functions for whatever action. YEP Link to comment
golanu21 Posted March 24, 2013 Share Posted March 24, 2013 setPedControlState createColRectangle "onColShapeHit" startResource triggerServerEvent triggerClientEvent guiCreateWindow -- and more with GUI --ETC-- Link to comment
papam77 Posted March 24, 2013 Author Share Posted March 24, 2013 Tell me all functions please. I never made it before Link to comment
EstrategiaGTA Posted March 24, 2013 Share Posted March 24, 2013 golanu23 already told you the functions. Link to comment
papam77 Posted March 24, 2013 Author Share Posted March 24, 2013 And how can make this ? Which functions ? Link to comment
ixjf Posted March 24, 2013 Share Posted March 24, 2013 setPedControlState createColRectangle "onColShapeHit" startResource triggerServerEvent triggerClientEvent guiCreateWindow -- and more with GUI --ETC-- If it's supposed to be a copy of TG/FFS, no, startResource is not used. Link to comment
papam77 Posted March 24, 2013 Author Share Posted March 24, 2013 setPedControlState createColRectangle "onColShapeHit" startResource triggerServerEvent triggerClientEvent guiCreateWindow -- and more with GUI --ETC-- If it's supposed to be a copy of TG/FFS, no, startResource is not used. And what can use if not startResource ? Link to comment
golanu21 Posted April 6, 2013 Share Posted April 6, 2013 And how can make this ? Which functions ? setCameraMatrix 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