-
Posts
667 -
Joined
-
Last visited
-
Days Won
4
Everything posted by Mr.Loki
-
Stolen: https://community.multitheftauto.com/index.php?p= ... s&id=12076 Original: https://community.multitheftauto.com/index.php?p= ... s&id=11993 DONE
-
The id of that fence is 1412 removeWorldModel(1412,radius,x,y,z)
-
I will release the un-compiled files of a newer and better version i have when I fix a little bug that's really annoying ... if i cant I'll still release it anyway and maybe the community can fix it.
-
umm... are you running the latest version of the script? Great and yes i know about the VEVO, UMG and WMG restrictions and I'm currently working on a way around it but i suck at html so that will take a while
-
Are you running the script on MTA 1.5?
-
triggerClientEvent(source,"onToggleLang",source[,arguments]) Should work edit: damn, you beat me to it Kariiim
-
Yesterday I tried it on 2 different servers and it worked normally... I will check it again later ._.
-
viewtopic.php?f=108&t=92018
-
Its Youtube theatre script I've been working on and its really simple to use and is mapped near the quarry at the Astro drive-in Theatre in Bone County. How to use: 1)the default command is /yt This can be changed in the resource settings via the admin panel. 2)By default, everyone can use the command so specify which ACL groups can use the command. ACL groups and Dimensions should be seperated by a comma example: NO SPACES BETWEEN THE COMMAS Admin,Moderator,Owner 0,1,3,4,5,6,7,8,2313423,56,785657 etc... 3)You need to be inside of the theatre area to use the command. 4)Simply search for the video you want then open it and hit grab video. The video is always streamed to everyone on the server inside of the theatre area. The theatre has its own hud to show what video is currently playing. When entering the Theatre the time is locked to midnight and when exiting the time is reset to normal server time. enjoy ;D https://community.multitheftauto.com/in ... s&id=11993
-
how are you setting the vehice's owner data?
-
wow the script just randomly started to working... just wtf.... first i tried your code and it worked then i tried the original code and it also worked yep you can lol works like normal outputChatbox now my problem is since im using for to loop through my function it has to run through all the groups so even tho im in admin and im not in moderator, the window would show and i'd get the access denied text how can i cancel it?
-
when i change the resource settings in the admin panel and i add multiple ACL groups to get('cinemaCommand') it does not work but if I change the setting to only have 1 ACL group it works. addEventHandler('onPlayerCommand',root, function(comm) if comm == get('cinemaCommand') then acls = get('cinemaACLAccess') gnames = split(acls, ',') for i, group in ipairs(gnames)do if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup(group)) then triggerClientEvent('openViewer',source) else triggerClientEvent('stvi',source,"You do not have access to this command.") end end end end )
-
try addEventHandler('onClientRender',root, function( ) if not getPedControlState(localPlayer, "aim_weapon") and getPedWeapon(localPlayer) > 15 then toggleControl('fire',false) else toggleControl('fire',true) end end ) edit: well it looks like you cant cancel onClientPlayerWeaponFire so i redid the script so this works
-
or you can do a check to see if the killer is in a vehicle and then get the vehicle id and if its a hydra put the hydra pic
-
I made a script describing what you said but i couldnt find it else i would have sent it to you . I made it so that when you did /commandlog playername a gui would popup and show you what commands they used, the time and date they used them. It would create a folder for each player with their account name and playername, I think this should work i dont quite remember it was so long ago function logPlayerCommands(cmd) local theFile = fileOpen("cmdslogs.txt") fileSetPos(theFile, fileGetSize(theFile) -- to go to the end of the file) fileWrite(theFile, "CMD: /"..cmd.."\r\n") fileClose(theFile) end addEventHandler("onPlayerCommand", root, logPlayerCommands)
-
load the client before the server in the meta
-
in your server script, is this inside of a function? triggerClientEvent("receiveSettings", root, FuelTimer)
-
in the default resources of your server there is a resource called acpanel. you can use it to block mods edit:By default the acpanel needs rights so you should use /aclrequest [list|allow|deny] [|all] so /aclrequest allow acpanel all and add it to the admin ACL
-
because your arguments for fadeCamera are wrong... click on it to go to the wiki for an example
-
why not just client : local timer = 60 addEvent("receiveSettings", true) addEventHandler("receiveSettings", root, function(arg) timer = arg end ) and shouldnt: be: do those images actually load?
-
instead of creating a blank label and then entering the text why not just create the label with the text? local label = guiCreateLabel ( 0, 0, 1, 1, myText, true )
-
you can use either onPlayerLogin / onPlayerJoin then setElementPosition setCameraTarget fadeCamera exammple: addEventHandler("onPlayerJoin/onPlayerLogin",root, function() setElementPosition(source,x,y,z) setCameraTarget(source) fadeCamera(source) end )