Jump to content

devildead622

Members
  • Content Count

    144
  • Joined

  • Last visited

Community Reputation

0 Neutral

About devildead622

  • Rank
    Poot-butt
  • Birthday 06/02/1996

Details

  • Location
    undefined
  1. Thanks, i go try! [lua] outputChatBox ( "Car repared :)", thePlayer )[lua]LOOOOL
  2. function enterVehicle ( thePlayer, seat, jacked ) local modelo = getElementModel (source) if modelo == 422 then setElementData(source, "Tire_inVehicle", 4) setElementData(source, "Engine_inVehicle", 11) setElementData(source, "Parts_inVehicle", 1) elseif modelo == 470 then setElementData(source, "Tire_inVehicle", 4) setElementData(source, "Engine_inVehicle", 1) setElementData(source, "Parts_inVehicle", 1) elseif modelo == 468 then setElementData(source, "Tire_inVehicle", 2) setElementData(source, "Engin
  3. YES! Long time not more samp game. now I'm playing gta online, but with MTA, which is much better. and also let's not compare the LUA with Pawn. '-' (LUA is much better)
  4. ok, thanks! is because I'm used to pawn (samp)
  5. this way will work? localplayer = getLocalPlayer() addEventHandler ( "onPlayerSpawn",root,function() if getElementData( localPlayer, "MAX_Slots") == 8 then --2 '==' is needed setElementData( localPlayer, "M9 SD", 1) setElementData( localPlayer, "M9 SD Mag", 30) setElementData( localPlayer, "Map", 1) end ) function checklife() local playerHealth = getElementHealth ( localplayer ) if (playerHealth > 102 ) then banPlayer ( localplayer, false, false, true, getRootElement (), 'reason ban' ) end setTimer("checklife", 200
  6. Thank you! Is working! I have another doubt: this is correct? localplayer = getLocalPlayer() function spawncomitens() if (getElementData( localplayer, "MAX_Slots") = 8 ) then setElementData( localplayer, "M9 SD", 1) setElementData( localplayer, "M9 SD Mag", 30) setElementData( localplayer, "Map", 1) end end addEventHandler ( "onPlayerSpawn", getRootElement(), spawncomitens ) function checklife() local playerHealth = getElementHealth ( localplayer ) if (playerHealth > 102 ) then banPlayer ( localplayer, false, false, true
  7. the first, when the player enters the server displays a box with the rules, I'm not trying to make appear automatically
  8. localPlayer = getLocalPlayer() wnd_window = {} addEventHandler( "onClientResourceStart", getResourceRootElement( getThisResource() ), function ( theResource ) --outputConsole( "wnd_showServerInfo called" ) --outputConsole( " Fonte: ".. tostring( source ) ) --outputConsole( " resourceStarted: ".. tostring( theResource ) ) if source == getResourceRootElement( theResource ) then --outputConsole( " passed if: source == resource" ) local xml = xmlLoadFile( "server.xml" ) local contents = xmlNodeGetValue( xml )
  9. searched, searched and searched again, but I not found a great deal on a good setup for servers of games by number of players ...
  10. i know just wondered if there was some function to change during the game(for example)
  11. lol... would be good if there
  12. There is a function to set the server name? i searched the wiki/google and not found ...
×
×
  • Create New...