-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
You could make a IG calc.
-
Hmmm, How about a Phoenix Bird flying with the Title in it's 2 Hands ?
-
Nice, you have good creativity
-
well, it's mostly math related, so if your good in math then this should be easy.
-
well, what could I say? Congratz Castillo
-
, I'm pissing my pants right now
-
Plus, try not to refresh the page, cause the script might run again and again each time, meaning that more money would be coming out of your paypal accout.
-
Please use the tages, and next time post this under Scripting Forum. btw, it looks like you didn't read the page.
-
Try scripting a calc, for in-game use.
-
http://ts1.mm.bing.net/th?id=I4910286400651856&pid=1.1
-
How to use Ghost Paradise mod map's with my MTA server ?
Jaysds1 replied to 0917725929's topic in Support
Try these: viewtopic.php?f=91&t=43642&hilit=+remove viewtopic.php?f=15&t=43425&hilit=+remove -
Try deleting your gta_sa.sey file located in your "My Documents\GTA San Andreas User Files".
-
np
-
Please download and run this MTADiag then post the PasteBin url here.
-
ok, try this, Server-side: local blip = createBlip ( 0, 0, 0, 0, 3 ) local BusJobMarker = createMarker ( 1620.2777099609, -1041.3696289063, 22.8984375, "cylinder", 2, 255, 0, 0, 255 ) attachElements (blip, BusJobMarker) local busteam = createTeam ( "Bus drivers", 255, 255, 0 ) addEventHandler("onMarkerHit",BusJobMarker,function(player) if not isPedInVehicle(player) then triggerClientEvent(player,"Showbusjobwindow", player) end end) buses = { } addEvent("StartBusJob", true) addEventHandler ( "StartBusJob",root,function() setPlayerTeam ( client, busteam ) local gX, gY, gZ = getElementPosition ( client ) if ( isElement ( buses [ client ] ) ) then destroyElement ( buses [ client ] ) end buses [ client ] = createVehicle ( 431, gX, gY, gZ ) setElementModel( client, 253 ) setTimer ( warpPedIntoVehicle, 1000, 1, client, buses [ client ]) triggerClientEvent(client,"theMarkers",client, buses[client]) end) Client-side: GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Memo = {} GUIEditor_Grid = {} GUIEditor_Window[1] = guiCreateWindow(318,268,494,200,"[LSR]BusJob",false) guiSetAlpha(GUIEditor_Window[1],1) GUIEditor_Button[1] = guiCreateButton(162,144,144,36,"Start Job",false,GUIEditor_Window[1]) GUIEditor_Button[2] = guiCreateButton(9,158,71,30,"EXIT",false,GUIEditor_Window[1]) GUIEditor_Button[3] = guiCreateButton(438,26,41,32,"?",false,GUIEditor_Window[1]) GUIEditor_Memo[1] = guiCreateMemo(81,84,339,54,"============|Bus Job|=============\nThe objective of this Job and passenger movement between the positions and the streets must be moved from position to another this Job does not have a fixed salary is dependent on your effort to work\n============|Bus Job|=============t",false,GUIEditor_Window[1]) guiMemoSetReadOnly(GUIEditor_Memo[1],true) guiSetVisible( GUIEditor_Window[1], false ) guiSetVisible( GUIEditor_Memo[1], false ) addEvent("Showbusjobwindow", true) addEventHandler("Showbusjobwindow",root,function() guiSetVisible(GUIEditor_Window[1], true) showCursor(true) guiSetInputEnabled(true) end) addEventHandler("onClientGUIClick",guiRoot,function() if ( source == GUIEditor_Button[1] ) then triggerServerEvent ("StartBusJob", localPlayer) guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) guiSetInputEnabled( false ) elseif ( source == GUIEditor_Button[2] ) then guiSetVisible ( GUIEditor_Window[1], false ) showCursor( false ) guiSetInputEnabled( false ) elseif ( source == GUIEditor_Button[3] ) then guiSetVisible ( GUIEditor_Memo[1], true ) end end,true) --forgot the bool at the end addEvent("theMarkers", true) addEventHandler("theMarkers",root,function(bus) local Marker1 = createMarker ( math.random (1431,1613), math.random (-1046,-1029), math.random (22.5,22.906229019165), "cylinder", 3, 255, 0, 0, 255 ) local Bblip1 = createBlip (0, 0, 0, 56, 3 ) attachElements ( Marker1, Bblip1 ) --attach elements outside of the event addEventHandler("onClientMarkerHit", Marker1,function(hitPlayer) if (hitPlayer == localPlayer) then --check if the hitPlayer is localPlayer first if isPedInVehicle ( hitPlayer ) then if getElementModel(getPedOccupiedVehicle(hitPlayer))~= 431 then outputChatBox("You are not in the Bus, please get a bus.") return end local randomly = math.random ( 5, 100 ) givePlayerMoney ( randomly ) outputChatBox(" You've got #00ff00$"..randomly.." #ffff00from the station",255,255,0, true) else outputChatBox("you must be in your bus") end end end) addEventHandler("onClientMarkerLeave", Marker1,function(leavePlayer) setElementPosition(Marker1,math.random (1431,1613), math.random (-1046,-1029), math.random (22.5,22.906229019165)) --set Markers Position end) end)
-
what do you mean "Learn Lua First"? I already know lua
-
Thanks, but I gave up on it longtime ago Why dahell? Trust me, it was hard to do at the time, I'm just going to learn C# and C++ .
-
Thanks, but I gave up on it longtime ago
-
the point I'm trying to make was that, only Physical Elements/Entities could be triggered.
-
plus you have to be signed in to your MTA account.
-
ya, your right, after the element is destroyed, the events and functions linking to that element is destroyed, regardless if they are created again or in some way get back life.