Smart.
Members-
Posts
340 -
Joined
-
Last visited
Everything posted by Smart.
-
It's parts from one of my scripts. The cancelEvent was meant to make the job ped immortal but he only took parts from it and never created the ped.
-
You need to set up a MySQL server. and then changing the connection details.
-
SGC:RPG Live Support Script(Tell me what you think)
Smart. replied to Razerclaus's question in Client
Let's hijack this topic! You say Dwayne has weird reasons for banning poeple? Well, SGC claims that I've reported them for having illegal forum but I haven't sure I know their forum software is illegal but I never reported it. Yet they banned my IP from their website And ontopic: If I were chang, I would focus on the more important stuff such as a police system, the main events like bank robbery and it's nothing special, like aero said. -
I think he means, if he flips his car, upside & down it will usually get caught on fire, I guess he wants to remove that.
-
He wanted the GUI to be visible on marker hit, not when you bind the key..
-
When I restart the resedit resource the list updates for me
-
Server Sided: https://wiki.multitheftauto.com/wiki/OnMarkerHit Client Sided: https://wiki.multitheftauto.com/wiki/OnClientMarkerHit an example: myGuiWindow = guiCreateWindow () myMarker = createMarker () addEventHandler ( "onClientMarkerHit", root, function ( hitElement ) if ( source == myMarker and hitElement == localPlayer ) then guiSetVisible ( myGuiWindow, true ) end end )
-
The grey color is kinda boring but overall, it looks cool gj
-
As TAPL said; thevehicle isn't defined anywhere. @Genius: root is a predefined MTA variable of getRootElement() see: https://wiki.multitheftauto.com/wiki/Pre ... ables_list
-
viewtopic.php?f=91&t=31891 and look for: "GUI Creation"
-
I just tested it and it's neat lookin' Incase you wonder how it looks like ingame I opened some GUI's I had made and printed, so yeah great work! links: http://i47.tinypic.com/16hvxit.png http://i50.tinypic.com/14j80f7.png
-
Funny how you want to take credit for a script you didn't do
-
Joker, you won't be able to run a server or whatever you are trying to do if you don't want to learn lua. You can't expect us to help you when you are doing nothing yourself.
-
try; WindowTest = guiCreateWindow(350,250,450,320,"Exemplo",false) guiWindowSetSizable(WindowTest,false) guiSetVisible(WindowTest,false) function ShowTest ( ) guiSetVisible ( WindowTest, not guiGetVisible ( WindowTest ) ) showCursor ( guiGetVisible ( WindowTest ) ) end bindKey ( "F5","down", ShowTest )
-
Click in the "Default child type" as well.
-
I would just suggest using relative, if you use guieditor (which I assume you do) then right click -> settings -> and mark "Relative" then click save. Or, you could make it even more simple by using: https://wiki.multitheftauto.com/wiki/CenterWindow
-
Looks quite nice, gonna try it out asap
-
You could either make the gui in relative mode, or: guiGetScreenSize
-
Wrote it in a hurry, anyhow try: firstMarker = createMarker ( 2055.4, -1775.08, 12.6, "cylinder" ,2, 249, 19, 75, 190 ) secondMarker = createMarker ( 2144.3,-1663.7,14.6,"cylinder",2, 249, 19, 75, 190 ) thirdMarker = createMarker(2146.3,-1470.4,25.1,"cylinder",2, 249, 19, 75, 190) teamCriminal = createTeam( "Criminal", 249, 19, 75) local message = "You have robbed the house and got $857" function robber ( hitPlayer ) setElementModel ( hitPlayer, 115 ) setPlayerTeam ( hitPlayer, teamCriminal ) setPlayerNametagColor ( hitPlayer, teamCriminal ) outputChatBox ( "You are now Robber.", hitPlayer ) end addEventHandler ( "onMarkerHit", firstMarker, robber ) function onMarker1 ( thePlayer ) destroyElement ( secondMarker ) givePlayerMoney ( thePlayer, 856 ) outputChatBox ( message, hitPlayer ) end addEventHandler ( "onMarkerHit", secondMarker, onMarker1 ) function onMarker2 ( thePlayer ) destroyElement ( thirdMarker ) givePlayerMoney ( thePlayer, 856 ) outputChatBox ( message, hitPlayer ) end addEventHandler ( "onMarkerHit", thirdMarker, onMarker2 )
-
So, there is a line called robber job? Cool.
-
What like are you talking about?
-
I don't think a scripter will script your server, and some kind of donating system (?) So you can maybe make couple of dollars which you'll then send him?
