
xXMADEXx
Members-
Posts
2,718 -
Joined
-
Last visited
Everything posted by xXMADEXx
-
000WebHost won't allow remote connections. If you want to lower your download, and still have the mods you need HTTPModLoader. http://www.mediafire.com/download/3ptw3 ... System.zip viewtopic.php?f=108&t=67500
-
This isn't a request page, we're here to help, but not do it for you. Check the community website - https://community.multitheftauto.com
-
When you edit acl.xml, make sure that the server is stopped. If that still doesn't work, then stop your server, open acl.xml, find where it says and right below that, put: save acl, start server.
-
local r, g, b = math.random ( 0, 255 ), math.random ( 0, 255 ), math.random ( 0, 255 )
-
No need to get upset! Everyone has to start somewhere, and I like that you're making scripts rather than just asking people to make them for you. And to keep everyone quiet about the "server lag" thing, here you are: local vehicles = { } function godVehicle(thePlayer, command, vehicleModel) if ( isElement ( vehicles[thePlayer] ) ) then destroyElement ( vehicles[thePlayer] ) end local x,y,z = getElementPosition(thePlayer) local x = x + 5 vehicles[thePlayer] = createVehicle(411, x, y, z) setVehicleDamageProof(newVehicle, true) if ( not vehicles[thePlayer] ) then outputChatBox("failed to create vehicle.",thePlayer) end end addCommandHandler("admincar", godVehicle) addEventHandler ( "onPlayerQuit", root, function ( ) if ( isElement ( vehicles[source] ) ) then destroyElement ( vehicles[source] ) end end )
-
Just saying, you're not going to learn anything if you're asking other people to do it for you.
-
Oh, my bad, never knew about that.
-
There is no such function.
-
addEventHandler ( "onMarkerHit", root, function ( p ) -- code end )
-
There is probably some type of an object that you can use to create the white circle (if there isn't you can just put a texture on the magnet) and then you can use setPedRotation.
-
You use these: addCommandHandler setElementPosition -- inside of a for loop
-
Oh nevermind, I found how to fix it. Thank you for your help.
-
Thank you for the help, but it seems to be a tad bit off. This is what it's doing for 100%: and here is the code ( w = width) dxDrawRectangle ( x+2, y+2, w* 0. .. progress, h-4, tocolor ( 255, 255, 255, 255 ) )
-
Hi guys. Im writing a script, but I ran into a problem. I can't figure out the math for this (i know its easy, but kinda bad with math) So, I have two rectangles and im trying to get it so that one of the rectangles is on a scale of 0-100 based on the other rectangles width. So for example, rec1 (The back rectangle) has a width of 335... Now I want rec2 (The front rectangle) to fill up 50% of rec1. If you understand this, it's kinda hard to explain, please reply. Thanks - xXMADEXx
-
Here is the exact code I used & tested local PDmarkers={ { 1553,-1678,14.5, "cylinder", 1, 0, 0, 0, 0 }, } local marker = { } for i,markers in pairs ( PDmarkers ) do local x, y, z, t, s, r, g, b, a = unpack ( markers ) marker[i] = createMarker ( x, y, z, t, s, r, g, b, a ) end
-
It's not, your code is correct.
-
You know he was just posting his script for people to use right? This isn't the place to post your scripts, that is what the community website is for. (Studding scripts off the community website isn't a bad way to help you learn either)
-
I played it for a while... I discovered i'm really bad at racing lol.
-
Hi guys. Is there a way to get an RGB color, after it gets converted in tocolor? so something like this: local colors = { 255, 255, 255, 255 } local c = tocolor ( unpack ( colors ) ) -- some function to convert "c" back to RGB
-
Nobody is going to make it for free... However, there are tons of login panels on the community. You could just use one of them maybe with a few edits.
-
Publique aquí, en la sección española. (Google Translate) viewforum.php?f=122
-
Well, i'm not sure what the "AC_message" is, but it could be my resource, topBarChat. http://www.mediafire.com/download/epgym ... arChat.zip All you need to do is change "outputTopBar" to "sendClientMessage".