NotAvailable
Members-
Posts
595 -
Joined
-
Last visited
Everything posted by NotAvailable
-
Sure, you can be a tester. Server name is: Fallout 2012 Roleplay I'll tell you when it's opened BTW Skype: jesse.thillart MSN: [email protected]
-
Isn't that hud from ZOMBIE HELL PARTY?
-
Post is updated, TRailer coming soon.
-
I think you will need alot $, if you want to hire a scripter. You can get free scripts by learning it yourself
-
: https://community.multitheftauto.com/index.php?p= ... ls&id=1350
-
Here you go, You will have to edit it first. I used a marker instead of a cuboid cause a marker is easier. Client-side: local enterGate = createObject(986, -485.47979736328, -562.69256591797, 26.231700897217, 0, 0, 180) local marker = createMarker(-485.14093017578,-564.14202880859,24.534646987915,"Cylinder", 7, 255, 0, 0, 0) function gates() moveObject(enterGate, 1000, -478.47052001953, -562.66644287109, 26.231700897217) end addEventHandler("onClientMarkerHit", marker, gates) function close() moveObject(enterGate, 1000, -485.47979736328, -562.69256591797, 26.231700897217) end addEventHandler("onClientMarkerLeave", marker, close) BTW: https://wiki.multitheftauto.com/wiki/Scr ... troduction it helped me ALOT
-
getAccountData is server-sided
-
Yes Castillo i was thinking about that to I store the achievements with setAccountData So if i check with if (getAccountData(player,"Achievement: New Guy") == false ) then Then i set the gridlist text to Locked, But how do i change the gridlist text? Cause guiGridListSetItemText is not working.
-
The purpose of this topic is, that I need help with GUI gridlists. How can i show the achievements in the gridlists? and how to change the locked text when you achieve it? If someone could help me i would really appreciate that. Thanks!
-
Hi, I'm creating a achievement system. But i have 0 experience with Gridlists. Picture: Could someone tell me when you earn a achievement on how to change the Locked text to Unlocked. Here is the code: local sWidth,sHeight = guiGetScreenSize() achs = { "New Guy", "Almost dead!", "Chatter", "Dead man!", "All Achievements" } locked = { "Locked", "Unlocked" } addEventHandler("onClientResourceStart",resourceRoot, function() local guy = getLocalPlayer() achWindow = guiCreateWindow(sWidth-540,sHeight-407,sWidth-440,sHeight-319,"Achievements Window",false) guiWindowSetMovable ( achWindow, true ) guiWindowSetSizable ( achWindow, false ) achMemo = guiCreateMemo(19,197,319,64,"",false,achWindow) guiMemoSetReadOnly(achMemo,true) achGrid = guiCreateGridList(19,29,319,158,false,achWindow) guiGridListSetItemColor(achGrid, row, 1, 255, 200, 0) local row = guiGridListAddRow ( achGrid ) guiGridListAddColumn(achGrid,"Achievements",0.3) guiGridListAddColumn(achGrid,"Unlocked/Locked",0.3) guiGridListSetSelectionMode ( achGrid, 2 ) for key,achievement in pairs(achs) do local row = guiGridListAddRow ( achGrid ) guiGridListSetItemText ( achGrid, row, 1, achievement, false, false ) end row = 0 for key,achievement in pairs(locked) do guiGridListSetItemText ( achGrid, row, 2, achievement, false, false ) row = row + 1 end end ) regards, Jesseunit
-
[HELP]Show Votemanager when everybody is dead
NotAvailable replied to NotAvailable's topic in Scripting
Alright. Thanks dude! -
Hello, I'm creating a gamemode, But i have 1 problem. How to show votemanager when everybody is dead? Could someone help meh? Thanks. Regards, Jesseunit
-
Doe mij maar een Pisang Ambon fles. Bier. En een tas vol Flügel
-
I fixed it, Thanks for the help everybody!
-
this is it: addEventHandler('onClientResourceStart', resourceRoot, function() local txd = engineLoadTXD('files/bridge_road2.txd') engineImportTXD(txd, 2052) local dff = engineLoadDFF('files/bridge_road.dff', 0) engineReplaceModel(dff, 2052) local col = engineLoadCOL('files/bridge_road.col') engineReplaceCOL(col, 2052) engineSetModelLODDistance(2052, 300) end )
-
Hmmm, i tried more ways, but i still get the same error.
-
Ah, okay. Thanks for the help anyways
-
Hi, i have a little problem with my custom model for GTA. I get this error when i start the resource: WARNING: lights/script.lua:5: Bad 'txd' pointer @ 'engineImportTXD'(1) Does someone know how to fix this? EDIT: I don't know whats wrong, i tried to fix it several times but the model stays gray. Regards, Jesseunit
-
Thanks for the help all! now i know how to create fading windows
-
first we need a button: button = guiCreateButton( 0.7, 0.1, 0.2, 0.1, "click!", true ) Now, we need to add the event so when u click the button the sound plays: button = guiCreateButton( 0.7, 0.1, 0.2, 0.1, "click!", true ) addEventHandler("onClientGUIClick", button, playDaSound) Now we need to add the function (playDaSound): button = guiCreateButton( 0.7, 0.1, 0.2, 0.1, "click!", true ) addEventHandler("onClientGUIClick", button, playDaSound) function playDaSound() sound = playSound("name.mp3", false) setSoundVolume(sound, 0.5) end
-
function playDaSound() sound = playSound("name.mp3", false) setSoundVolume(sound, 0.5) end addEventHandler("onClientPlayerSpawn", getLocalPlayer(), playDaSound)
-
Yeh i did this: setTimer(guiSetAlpha, 2000, 1, infoWindow, 255) EDIT: It worked, but it didnd fade
-
Hi, i want to create a fading window when u press F6. I tried to script it several times but it didnt worked Does someone know how to create that? Regards, Jesseunit
