-
Posts
38 -
Joined
-
Last visited
Posts posted by MannPro
-
-
i know that if you Create Police that it is good but where i can find the Army,FBI and Swat? do you know?
maybe we can i help and you me
sorry i am new
You must add them in the teams list.
Use your admin panel for that.
-
Nice Mate!
-
These are the functions to make your script ,
getVehicleEngineState --- if the vehicle are on getPedOccupiedVehicle ----- if ped in the vehicle [url=https://wiki.multitheftauto.com/wiki/GetElementSpeed]https://wiki.multitheftauto.com/wiki/GetElementSpeed[/url]---- get the vehicle speed guiProgressBarGetProgress ---- get the bar valute form 0 guiProgressBarSetProgress --- set it for an example 100
This thing is perfect go for it
-
You can just set the alpha to 0 of the marker if you dont want to see the marker.
Nice idea!
-
Is it necessary to create a marker at gate?
It would be better without it
-
Can you give the full code as how to make a gate working?
-
Use this:
if isObjectInACLGroup(player, aclGetGroup("Government")) then
Whenever you want to restrict something.. player being the player checked.
Can you give me full code?
Like this?
function aclGetGroup ("Government",player) if isObjectInACLGroup(player, aclGetGroup("Government")) then
-
Oh yea i haven't added it in admin group will do it.
Thanks
Edit: there the problem still exists the name is login-system
So i typed in admin group:
No change in the prob
If you are modifying the acl.xml directly, you have to shutdown the server first. Then add your resource into the Admin group and then start the server again.
Purely Wow citizen
-
Hey guys,
I made a group of government in acl.
How can i check if they are in government on startup?
And i made a base how can i make a gate which only opens when a guy of government goes near it and closes automatically?
Thanks...
-
Error
FIXED
Thanks
-
It still exists i edited my post see it
-
Oh yea i haven't added it in admin group will do it.
Thanks
Edit: there the problem still exists the name is login-system
So i typed in admin group:
No change in the prob
-
Hi guys ,
I have a login -system.
There it isn't allowed to create account like this
[2014-06-11 02:11:57] WARNING: login-system\server.lua:26: Access denied @ 'addAccount'
Anyone help?
-
Bad thing to post this here.
This isn't the place for recruiting scripters
-
Try this:
jobPanel = guiCreateWindow (344, 146, 342, 458, "Pizza Job", false) guiWindowSetSizable (jobPanel, false) jobMemo = guiCreateMemo (16, 30, 312, 384, "Here is the basic Info about Pizza! ->\n\nCurrent Job Head -> Mann\n\n------------ Finding The Job ------------\n\n - To find the pizza job see the Pizza Icon on the . map(F11). \n\n------------ Doing The Job -------------\n\n - You will get a and must deliver the pizza at the Green Marker on the Map(F11). \n\n - On Delivery you will get your salary! \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" /> \n\n------------ Others ------------\n\n - For more Information you can contanct our staff online!\n\n - You can also contanct the Job Head!", false, jobPanel) guiMemoSetReadOnly (jobMemo, true) jobButton = guiCreateButton (211, 423, 117, 20, "Close", false, jobPanel) guiSetVisible (jobPanel, false) function closePanel (button, state) if button == "left" and state == "up" then guiSetVisible( jobPanel, false ) showCursor ( false ) end end addEventHandler ( "onClientGUIClick", jobButton, closePanel, false ) function openPanel() if ( guiGetVisible ( jobPanel ) == true ) then guiSetVisible ( jobPanel, false ) showCursor ( false ) else guiSetVisible (jobPanel, true ) showCursor ( true ) end end addCommandHandler("panel", openPanel, false, false )
addEventHandler ( "onClientGUIClick", jobButton, closePanel, false )
It shows incomplete (got boolean)Nil
-
Try this:
jobPanel = guiCreateWindow (344, 146, 342, 458, "Pizza Job", false) guiWindowSetSizable (jobPanel, false) jobMemo = guiCreateMemo (16, 30, 312, 384, "Here is the basic Info about Pizza! ->\n\nCurrent Job Head -> Mann\n\n------------ Finding The Job ------------\n\n - To find the pizza job see the Pizza Icon on the . map(F11). \n\n------------ Doing The Job -------------\n\n - You will get a and must deliver the pizza at the Green Marker on the Map(F11). \n\n - On Delivery you will get your salary! \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" /> \n\n------------ Others ------------\n\n - For more Information you can contanct our staff online!\n\n - You can also contanct the Job Head!", false, jobPanel) guiMemoSetReadOnly (jobMemo, true) jobButton = guiCreateButton (211, 423, 117, 20, "Close", false, jobPanel) guiSetVisible (jobPanel, false) Thanks function closePanel (button, state) if button == "left" and state == "up" then guiSetVisible( jobPanel, false ) showCursor ( false ) end end addEventHandler ( "onClientGUIClick", jobButton, closePanel, false ) function openPanel() if ( guiGetVisible ( jobPanel ) == true ) then guiSetVisible ( jobPanel, false ) showCursor ( false ) else guiSetVisible (jobPanel, true ) showCursor ( true ) end end addCommandHandler("panel", openPanel, false, false )
there is smile bugs form the fourm in your code make sure you remove them ... .Thanks
-
-
Hey guys, I know I made a post before, but if you are a Scripter, I am back with a deal that maybe you will script for me; I am making a server. I already have scripts to start with.
If you script for me, here is what I will give you: 20% of the donations! Administrator Rank in-game.
I need someone that can script good. And if you know how to use MySQL, even better!
Add me on Skype or reply to this topic. Skype: kdog549 (Twin Cities)
What if you don't get any donations?
One shot one kill!
-
Nice work bro!
Go go make it!
-
Anyone?
-
And is there any flaw in the script? eh?
Plizz inform me if any
-
Well my whole Gui is here ->
GUIEditor = { button = {}, window = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(344, 146, 342, 458, "Pizza Job", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.memo[1] = guiCreateMemo(16, 30, 312, 384, "Here is the basic Info about Pizza! ->\n\nCurrent Job Head -> Mann\n\n------------ Finding The Job ------------\n\n - To find the pizza job see the Pizza Icon on the . map(F11). \n\n------------ Doing The Job -------------\n\n - You will get a Faggio and must deliver the pizza at the Green Marker on the Map(F11). \n\n - On Delivery you will get your salary! \"{SMILIES_PATH}/icon_smile.gif\" alt=\"\" title=\"Smile\" /> \n\n------------ Others ------------\n\n - For more Information you can contanct our staff online!\n\n - You can also contanct the Job Head!", false, GUIEditor.window[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.button[1] = guiCreateButton(211, 423, 117, 20, "Close", false, GUIEditor.window[1]) addEventHandler("onClientGuiClick", GUIEditor.button[1], closePanel, false) end ) addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), function () createGUIEditor.window[1] () guiSetVisible(GUIEditor.window[1], false) showCursor(false,false) end ) function closePanel (button, state) if button == "left" and state == "up" then guiSetVisible(GUIEditor.window[1], false) showCursor(false,false) end end local Window = Window Name local Key = "F2" guiSetVisible(Window,false) addCommandHandler ( 'pizza', root, function () guiSetVisible (GUIEditor_Window[1], true) showCursor ( true ) end )
This is my whole script of Gui and your command doesn't work
-
I added a button to close the guide so I think pizza close command isn't necessary.
And is there anything else except making the guide and this command ?
I don't know as this is my first guide panel ever c: so, is there any thing else?
And thank you very much c:
-
As you wish ,
addCommandHandler ( 'pizzaopen', root, function () guiSetVisible (GUIEditor_Window[1], true) ----Name of the window, false to hide showCursor ( true ) --- false to hide end ) addCommandHandler ( 'pizzaclose', root, function () guiSetVisible (GUIEditor_Window[1], false) ----Name of the window, false to hide showCursor ( false ) --- false to hide end )
+ post your code ,
Thanks and I want the command/code to be /pizza
[WIP] HoloScreens
in Resources
Posted
Super!