papam77 Posted March 24, 2013 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 ?
golanu21 Posted March 24, 2013 Posted March 24, 2013 setPedControlState createColRectangle "onColShapeHit"
papam77 Posted March 24, 2013 Author Posted March 24, 2013 And how can add gamemode to any NPC ? Hunter NPC will has Hunter gamemode.
golanu21 Posted March 24, 2013 Posted March 24, 2013 what you want? i don't understand, to add gamemode to npc ??, you can't setPedControlState
golanu21 Posted March 24, 2013 Posted March 24, 2013 wait, you want to your npc, to have a gui ??, if you click on the NPC to appear a GUI ???
papam77 Posted March 24, 2013 Author 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.
papam77 Posted March 24, 2013 Author Posted March 24, 2013 This https://www.youtube.com/watch?v=_zvgZCD5mdM 0:33
MIKI785 Posted March 24, 2013 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.
golanu21 Posted March 24, 2013 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
golanu21 Posted March 24, 2013 Posted March 24, 2013 setPedControlState createColRectangle "onColShapeHit" startResource triggerServerEvent triggerClientEvent guiCreateWindow -- and more with GUI --ETC--
papam77 Posted March 24, 2013 Author Posted March 24, 2013 Tell me all functions please. I never made it before
ixjf Posted March 24, 2013 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.
papam77 Posted March 24, 2013 Author 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 ?
golanu21 Posted April 6, 2013 Posted April 6, 2013 And how can make this ? Which functions ? setCameraMatrix
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