@KNOBs Lock/Unlock Code – Removed lock code making my own
proof for the permission:
NativeUI version made from scratch by me
other than that nativeui is free to release i’m pretty sure
Disclaimer:
Anything that i have provided is not harmful if it was harmful you probably downloaded it from somewhere off another site please only download it from the github!
i am not responsible if you edit the code and break your server! you should always make a backup!
Disclaimer Updated: 1:12 A.M Central Time 11/25/18
Hope you guys enjoyed it although it’s not running through any servers so it should still work
Oh yeah, I was talking about just regular hands up. I was at school and did not completely understand the post due to no screenshots. I will Delete the post I made before
Got a few functions you may wanna add its for toggling and untoggling weapons credit to @montypiper for helping me out with this function. https://pastebin.com/imckWHfp
you must install the other scripts if you use like the radar and something else not sure but it all works for me but the radar works for me but i have to do ingame (if you set your steamid for ingame admin) or in console ingame: /start radar (or whatever you named the radar script) console: start radar (again whatever you named it)
Have you found anything for windows yet? Ive been trying the function from acl but couldnt get it working. Cant find any other window script to try its function. You get anything?
RegisterNUICallback( "ButtonClick", function( data, cb )
if ( data == "handsup" ) then
handsUp()
elseif ( data == "button2" ) then
chatPrint( "Button 2 pressed!" )
elseif ( data == "button3" ) then
chatPrint( "Button 3 pressed!" )
elseif ( data == "button4" ) then
chatPrint( "Button 4 pressed!" )
elseif ( data == "handsup_knees" ) then
KneelHU()
if ( data == "engine" ) then
TriggerEvent( 'Engine' )
elseif ( data == "exit" ) then
-- We toggle the ActionMenu and return here, otherwise the function
-- call below would be executed too, which would just open the menu again
ToggleActionMenu()
return
end
end