-
Posts
814 -
Joined
-
Last visited
Everything posted by Wei
-
Just 1 help more. I didn't open new post. function Staffbaseport ( thePlayer ) setElementPosition((thePlayer), 110.53934, 1104.70752, 13.60938) end addEventHandler ( "onClientGUIClick", button2, Staffbaseport (thePlayer) ) whats the problem here ?
-
Thanks all. It's my first time making a GUI. So thanks again!
-
how can i make my gui open when i type in /admin command. Here is my code (unfinished) window1 = guiCreateWindow(268,214,530,216,"Blazy's Admin Panel! Use /admin to close!",false) button1 = guiCreateButton(10,27,164,82,"Flying cars ON",false,window1) guiSetFont(button1,"sa-header") button2 = guiCreateButton(356,118,159,86,"Admin Base",false,window1) guiSetFont(button2,"sa-header") button3 = guiCreateButton(184,118,164,82,"Hoover cars off",false,window1) guiSetFont(button3,"sa-header") button4 = guiCreateButton(12,117,164,82,"Flying cars off",false,window1) guiSetFont(button4,"sa-header") button5 = guiCreateButton(354,26,164,82,"Admin Godmode",false,window1) guiSetFont(button5,"sa-header") button6 = guiCreateButton(182,26,164,82,"Hoover Cars On",false,window1) guiSetFont(button6,"sa-header") function flyingcars(thePlayer) setWorldSpecialPropertyEnabled("aircars", true) end addEventHandler("onClientGUIClick", button1, flyingcars) function flyingcar(thePlayer) setWorldSpecialPropertyEnabled("aircars", false) end addEventHandler("onClientGUIClick", button2, flyingcar)
-
+1
-
Agree, if he/she releases this, then it'll become like MTA paradise, Valhalla Gaming scripts, everyone using them and no unique servers. It's easy for you to say when you are a pro scripter...
-
I've downloaded the coleeditor from the community. https://community.multitheftauto.com/index.php?p= ... ls&id=3804 It's much easyer way. Thanks anyway!
-
so tommorow is release date ?
-
Is there anyway to calculate col ?
-
how can i know the colshape position ? isn't that circle around the position that i chosed ?
-
When i come to the gate they doesn't open! gate1 = createObject ( 987, 175.19999694824, 1094.9000244141, 16, 0, 0, 90 ) col = createColCircle ( 987, 175.19999694824, 1094.9000244141, 10 ) peder = createBlip ( 987, 175.19999694824, 1094.9000244141, 43 ) function opengates(thePlayer) if getElementModel( thePlayer ) == 217 then moveObject (gate1, 5000, 180.19999694824, 1094.9000244141, 16 ) end end addEventHandler( "onColShapeHit", col, opengates ) function closegates(thePlayer) if getElementModel( thePlayer ) == 217 then moveObject (gate1, 5000, 175.19999694824, 1094.9000244141, 16 ) end end addEventHandler( "onColShapeLeave", col, closegates )
-
he means the name not id
-
How to make that when player will download there will show camera or text?
-
thank you. I find it. I think i'm to lazy to search...
-
how can i make that will show me on scoreboard the time of player played on my server ?
-
i want to it will work only if player has wanted level
-
function policeJob ( attacker, attackerweapon, bodypart, loss ) theSkin = getElementModel ( attacker ) if (attackerweapon == 3) and (loss > 2 ) and (theSkin == 281 ) then setElementPosition (source, 219, 110, 999, true) setTimer ( setElementPosition, 100000, 1, source, 236.32, 110.4, 1003.2) takePlayerMoney (source, 50) givePlayerMoney (attacker, 100) end end addEventHandler ("onPlayerDamage", getRootElement(), policeJob) how to add here if player wanted level is 1,2,3,4,5,6?
-
<meta> <info author="blazy" description="sb group" version="1.0.0" type="script" /> <script src="asd.lua" type="server"/> </meta>
