CodyJ(L)

Scripting Moderators
  • Content Count

    2,984
  • Joined

  • Last visited

  • Days Won

    18

Everything posted by CodyJ(L)

  1. CodyJ(L)

    Wheel Size

    No I tried that I know its possible because I've been on a server with a wheel size adjuster
  2. CodyJ(L)

    Wheel Size

    there has to be a way to do it
  3. CodyJ(L)

    about map

    He wants to have an interactive map of his server on his website
  4. CodyJ(L)

    about map

    hm Im not sure about that one
  5. CodyJ(L)

    about map

    What do you mean by that
  6. CodyJ(L)

    Wheel Size

    Is There any way possiable to change wheel size on car? I would really like to make my trucks wheels bigger and make some cars wheels bigger and some smaller
  7. CodyJ(L)

    Hello!

    Send me script on skype -codylewiz
  8. CodyJ(L)

    Hello!

    im good with editing scripts wat you need
  9. CodyJ(L)

    Scripter

    Another thing is post a reply-
  10. CodyJ(L)

    Scripter

    Im Looking for a scripter for my server BoDRPG I wont be able to pay untill we get donaters but we can work out a price to pay monthly I currently need lots of scripts made so if your interested Drop a message by skype or go to BoD rpg and talk to Codylewiz Skype: Codylewiz I would greatly appreciate it if I can get a scripter then can script good and doesn't charge insane prices if your those two please send me a message.
  11. CodyJ(L)

    BoD RPG

    DownLoad Speed Flys By Depending On Location Web Site: http://bodrpg.wix.com/bodrpg Forums:http://bodforums.forumer.com/forums/68#.VBR2fBZgnct Server Name:BoDRoleplay Ip To Get On Server:mtasa://97.93.163.146:22003 If Your good to the staff the staff will be good to you. Once we get donators I'll Update to a new website host with built in forums. Most Admins on duty will have a military skin S mods will have a swat skin Or a navy/air force skin The Owners Are: Scripter, Creator And Owner: CodyLewiz Original Creator and Owner: [boD]REAPER[L] Owner: [boD]Pump[CMDR] Active Admins: Erran "During Night" Jaspeont Virus? Active Moderators: Rion "Errans Bro On At Night" DarekFoster Dj_PHONE_HOME Dimos If You Think you're a worthy Admin Or Mod Talk to CodyLewiz More Info Will Be Added Soon
  12. CodyJ(L)

    Spawn command

    How can I make it so it keeps skin
  13. CodyJ(L)

    Spawn command

    error spawn/script atempt to call global Spawnplayer
  14. CodyJ(L)

    Spawn command

    I the first script a bit but Cant figure out why its not working, Max your script isnt working addCommandHandler(spawn) function spawnPlayer ( source, 2485.3604, -544.28711, 97.96978 ) end )
  15. CodyJ(L)

    Spawn command

    I made a script but how do I make the spawn player act as a function bool addCommandHandler ( string spawn, function spawn, [bool restricted = false, bool caseSensitive = false] ) bool spawnPlayer ( player thePlayer, float x, float y, float z, [ int rotation = 0, int interior = 0, int dimension = 0, team theTeam = nil ] )
  16. CodyJ(L)

    Spawn command

    How would I make a command for it
  17. CodyJ(L)

    Spawn command

    What would I use to make /spawn make a player spawn at the spawn when he uses the command
  18. this script is made so that when a mechanic with skin 50 enters some ones car that is damaged it askes the driver if they need their car repaired When the driver selects yes nothing happens and it should reapair the car Nothing unusual happens on debug script
  19. Ive been working on this mechanic script but I cant get it to repair car when the person in car selects that he wants his car repaired-server Side local pending_vehicles = { } local skinmechanic = { [ 50 ] = true } addEvent( getResourceName( resource ) .. ":accepted", true ) addEventHandler( getResourceName( resource ) .. ":accepted", root, function( ) local vehicle = getPedOccupiedVehicle( client ) if ( not vehicle ) or ( getPedOccupiedVehicleSeat( client ) ~= 1 ) or ( not skinmechanic[ getElementModel( client ) ] ) then return end local driver = getVehicleController( vehicle ) if ( driver ) and ( getElementType( driver ) == "player" ) then if ( getElementHealth( vehicle ) < 800 ) then fadeCamera( source, false, 1.0 ) setTimer( function( vehicle, source ) if ( isElement( vehicle ) ) and ( getElementHealth( vehicle ) < 800 ) then givePlayerMoney( source, 3000 ) fixVehicle( vehicle ) end if ( pending_vehicles[ source ] ) then pending_vehicles[ source ] = nil end fadeCamera( source, true, 1.0 ) end, 2500, 1, vehicle, source ) else outputChatBox( "Error: The vehicle is already in good condition.", source, 255, 0, 0, false ) end end end ) local vehicle_types = { [ "Automobile" ] = true, [ "Helicopter" ] = true, [ "Monster Truck" ] = true } addEventHandler( "onPlayerVehicleEnter", root, function( vehicle, seat, jacked ) if ( jacked ) or ( not skinmechanic[ getElementModel( source ) ] ) or ( not vehicle_types[ getVehicleType( vehicle ) ] ) or ( seat ~= 1 ) then return end local driver = getVehicleController( vehicle ) if ( driver ) and ( getElementType( driver ) == "player" ) then playSoundFrontEnd( source, 40 ) pending_vehicles[ source ] = driver triggerClientEvent( driver, getResourceName( resource ) .. ":display", source ) end end ) addEventHandler( "onPlayerVehicleStartExit", root, function( vehicle ) if ( not skinmechanic[ getElementModel( source ) ] ) or ( not vehicle_types[ getVehicleType( vehicle ) ] ) then return end if ( pending_vehicles[ source ] ) and ( isElement( pending_vehicles[ source ] ) ) then triggerClientEvent( pending_vehicles[ source ], getResourceName( resource ) .. ":display", source, false ) pending_vehicles[ source ] = nil end end ) Client Side - local theMechanic local GUIEditor = { button = { }, window = { }, label = { } } function toggleMechanicDisplay( forced_state ) if ( ( not forced_state ) and ( isElement( GUIEditor.window[ 1 ] ) ) ) or ( isElement( GUIEditor.window[ 1 ] ) ) then destroyElement( GUIEditor.window[ 1 ] ) showCursor( false ) return end GUIEditor.window[ 1 ] = guiCreateWindow( 526, 287, 334, 142, "Mechanic", false ) guiWindowSetSizable( GUIEditor.window[ 1 ], false ) GUIEditor.label[ 1 ] = guiCreateLabel( 60, 42, 209, 17, "Do you accept to get your car repaired?", false, GUIEditor.window[ 1 ] ) GUIEditor.button[ 1 ] = guiCreateButton( 9, 92, 150, 40, "Accept", false, GUIEditor.window[ 1 ] ) GUIEditor.button[ 2 ] = guiCreateButton( 169, 91, 155, 41, "Close", false, GUIEditor.window[ 1 ] ) addEventHandler( "onClientGUIClick", GUIEditor.button[ 1 ], function( ) if ( isElement( theMechanic ) ) then triggerServerEvent( getResourceName( resource ) .. ":accepted", theMechanic ) end toggleMechanicDisplay( ) end ) addEventHandler( "onClientGUIClick", GUIEditor.button[ 2 ], function( ) toggleMechanicDisplay( ) end ) showCursor( true ) end addEvent( getResourceName( resource ) .. ":display", true ) addEventHandler( getResourceName( resource ) .. ":display", root, function( forced_state ) if ( isElement( source ) ) and ( getElementType( source ) == "player" ) then theMechanic = source toggleMechanicDisplay( forced_state or true ) else end end ) And While I have this is there any way to make a wrench mod that will repair car? I have a model for it and the weapon to replace I
  20. CodyJ(L)

    play with me :)

    You can come on my server Lewizrpg we are always looking for new people
  21. I have a Brand new RP server with real cars nice staff and more the name is BoDRpG