
Cruze
Members-
Posts
109 -
Joined
-
Last visited
Everything posted by Cruze
-
clientsided for gui functions server sided for trigger, create, and warp.
-
I dunno What steam is really is it a hosting company? ._. I really dunno I already talked to someone he verified that (Through sending half of resources to him) that's all I can say.
-
the scammer is aboud that's all also I was close to sell it and some people already saw my gamemode and liked it much the problem is..I can't get the SS's to prove the awesomeness of the gamemode.
-
ROFL forgot this " in eventhandler also create a ped ._.
-
hmm maybe... addEventHandler ("onClientPedDamage",thepedname, function () cancelEvent() end
-
local marker = createMarker (1220, -1415.5,12, "cylinder", 1.5, 0, 0, 225, 225) function gui () gui = guiCreateWindow( 300, 100, 265, 500, "Bike Rent Shop", false) guiSetInputEnabled ( false ) guiWindowSetMovable( gui, false ) guiWindowSetSizable( gui, false ) guiSetVisible ( gui, false) List = guiCreateGridList ( 0.04, 0.05, 0.95, 0.75, false, gui ) column = guiGridListAddColumn( List, "Bikes", 0.85 ) btn1 = guiCreateButton( 149, 430, 99, 45, "Leave", false, gui ) guiSetFont( btn1, "default-bold-small" ) List = guiCreateGridList ( 0.04, 0.05, 0.95, 0.75, true, gui ) column = guiGridListAddColumn( List, "Bikes", 0.85 ) btn2 = guiCreateButton(18,430,99,45,"Rent 50$",false, gui) guiSetProperty( btn1, "HoverTextColour", "FFFF0000" ) guiSetProperty( btn2, "HoverTextColour", "FFFFFF00" ) row = guiGridListAddRow (List) guiGridListSetItemText ( List, row, column, "Mountain Bike", false, false ) row2 = guiGridListAddRow (List) guiGridListSetItemText (List, row2, column, "BMX", false, false ) row3 = guiGridListAddRow (List) guiGridListSetItemText (List, row3, column, "Bike", false, false ) addEventHandler("onClientGUIClick", btn1, close, false) addEventHandler("onClientGUIClick", btn2, rent, false) end function rent (button,state) if button == "left" and state == "up" then takeCash ( thePlayer, amount ) takePlayerMoney ( thePlayer, 100 ) end end addEventHandler("onClientMarkerHit", marker, function ( hitPlayer ) gui() if ( hitPlayer == localPlayer ) then guiSetVisible( gui, true) showCursor( true) outputChatBox( "Bike shop : Welcome to the Rent Shop", 255, 255, 5) end end ) function close(button,state) if button == "left" and state == "up" then guiSetVisible ( lol, false) guiSetInputEnabled(false) guiSetVisible(gui, false) showCursor(false) end end Try this..
-
function gui () gui = guiCreateWindow( 300, 100, 265, 500, "Bike Rent Shop", false) guiSetInputEnabled ( false ) guiWindowSetMovable( gui, false ) guiWindowSetSizable( gui, false ) guiSetVisible ( gui, false) List = guiCreateGridList ( 0.04, 0.05, 0.95, 0.75, false, gui ) column = guiGridListAddColumn( List, "Bikes", 0.85 ) btn1 = guiCreateButton( 149, 430, 99, 45, "Leave", false, gui ) guiSetFont( btn1, "default-bold-small" ) List = guiCreateGridList ( 0.04, 0.05, 0.95, 0.75, true, gui ) column = guiGridListAddColumn( List, "Bikes", 0.85 ) btn2 = guiCreateButton(18,430,99,45,"Rent 50$",false, gui) guiSetProperty( btn1, "HoverTextColour", "FFFF0000" ) guiSetProperty( btn2, "HoverTextColour", "FFFFFF00" ) row = guiGridListAddRow (List) guiGridListSetItemText ( List, row, column, "Mountain Bike", false, false ) row2 = guiGridListAddRow (List) guiGridListSetItemText (List, row2, column, "BMX", false, false ) row3 = guiGridListAddRow (List) guiGridListSetItemText (List, row3, column, "Bike", false, false ) addEventHandler("onClientGUIClick", btn1, close, false) addEventHandler("onClientGUIClick", btn2, rent, false) end function rent (button,state) if button == "left" and state == "up" then takeCash ( thePlayer, amount ) takePlayerMoney ( thePlayer, 100 ) end end local marker = createMarker (1220, -1415.5,12, "cylinder", 1.5, 0, 0, 225, 225) addEventHandler("onClientMarkerHit", marker, function ( hitPlayer ) gui() if ( hitPlayer == localPlayer ) then guiSetVisible( gui, true) showCursor( true) outputChatBox( "Bike shop : Welcome to the Rent Shop", 255, 255, 5) end end ) function close(button,state) if button == "left" and state == "up" then guiSetVisible ( lol, false) guiSetInputEnabled(false) guiSetVisible(gui, false) showCursor(false) end end Should work now (I added guiSetVisible in line 5)
-
If you're not intrested in this..GET OUT OF THIS TOPIC, kid.
-
Okay don't forget the gamemode I'm offering isn't availble as free version and the price is very cheap for something passes the amazingness If you need any other help PM me.
-
If you're intrested in buying an RPG gamemode for your server PM me via forums or skype: aymen.keyboard It might be suitable for the server you want to buy too.
-
Well, I couldn't get onto my PC to take SS's anyways I might post a SS of the resources or a script If It's needed as a proof.
-
Search in community for manve's turf system or others and you'll find a solution.
-
I could give you SS of resources P.S I don't have a credit card that's the problem and I want to donate 50 euro to a server so If you guys would like to donate the 50 euro I'll send you all resources and they're working.
-
Where I suppose to post? lol
-
Well as the title says..I'm selling an RPG gamemode for RL money this gamemode is AMAZING/AWESOME however It includes a dx login panel, jobs, police and law system, bases and much more informations via private messages or skype : aymen.keyboard It will cost 50 euro. (It's really cheap because the gamemode was hard to script..) P.S Admin panel too (Not default MTA admin panel, a gamemode admin panel..) for more informations send me a PM via MTA or via my skype: aymen.keyboard
-
^this also search in mta wiki for "setTimer".
-
Nah he copied it from C*G scripts.
-
lol,i mean the script of Gtakiki
-
Little mistake by the above member: Teame = createTeam("Criminal", 255, 0, 0) function teamSet ( thePlayer ) local team = getTeamFromName ( "Criminal" ) if team and thePlayer then setPlayerTeam ( thePlayer, team ) setPlayerNametagColor ( thePlayer, 255, 0, 0 ) else cancelEvent() end end addEvent ( "sTeame", true) addEventHandler ( "sTeame", root, teamSet ) function setTeam ( thePlayer ) setPlayerTeam ( thePlayer, teame ) end addCommandHandler ( "criminal", setTeam )
-
Firstly, you need a good English. Secondly, try to learn lua from here www.lua.org. Thirdly, go to mta wiki and start learning. And also you'll have to read TUT's about scripting no need to copy your reputation will decrease so don't try to be an idiot.
-
Maj use Hamachi software follow every step,and then open the ports,invite some players to test it and have fun.
-
i'll translate to french ^^ but i just need to know how i can translate
-
Thanks,i already have this software i know some basics but i wanna know a tutorial showing me other ways
-
Simply,that's awesome,what software you used to create that design!?