Jump to content

CowTurbo

Members
  • Posts

    385
  • Joined

  • Last visited

Everything posted by CowTurbo

  1. A: I was really fucked , with my 10 million girlfriend Q: Can you fuck your mom ?
  2. A: Trolleybus Q: Give to my .lua number 1-10. How well i can script , what you think ?
  3. GRATZ!!!!! i have reached to the...
  4. yeah, i have arived too finaly DarkLink lol, sry, i was late.
  5. which spawnpoints they are ? Zombies ? For players ? or something else ?
  6. Usuly, we are not making requests, but, i made you reeaaallyy start beta, so you have to go on with it by your own, i added much things what you didnt wanted, such as money give 200 - 600, so you have to find it and edit it by you own, and some parts i wasnt added, such as if skin is 28 .. I wasnt added them because you can learn then, by editing this script. I hope you can finish with it, good luck -- CLIENT -- --[[ ::..* Robbing System * ::.. ]] local robingMarkers = {} local robingStartMarkers = {} local robbingBlips = {} robingStartMarkers[1] = createMarker(0,0,3, 'cylinder',1.5, 200,200,200,150 ) function onConnectAndStart () setElementData ( getLocalPlayer(), "Robbing", false ) end addEventHandler ( "onClientResourceStart", getResourceRootElement(getThisResource()), onConnectAndStart ) function startMarkerHit (hitPlayer, matchingDim) for index,markers in pairs(robingStartMarkers) do if (source == markers) then if not ( getPedOccupiedVehicle ( getLocalPlayer() )) then startRobbing () else outputChatBox ( "* ERROR: Please come out from your vehicle to start robbing!", 255,0,0 ) end end end end addEventHandler ( "onClientMarkerHit", getRootElement(), startMarkerHit ) function startRobbing () if not ( getElementData ( getLocalPlayer(), "Robbing" )) == true then robingMarkers[1] = createMarker(2,0,3, 'cylinder',1.5, 200,200,200,150 ) robingMarkers[2] = createMarker(4,0,3, 'cylinder',1.5, 200,200,200,150 ) robingMarkers[3] = createMarker(6,0,3, 'cylinder',1.5, 200,200,200,150 ) -- create here markers where have to be robing markers robbingBlips[1] = createBlip (2, 0, 3, 32, 2 ) robbingBlips[2] = createBlip (4, 0, 3, 32, 2 ) robbingBlips[3] = createBlip (6, 0, 3, 32, 2 ) -- create here robbing Blips addEventHandler ( "onClientMarkerHit", getRootElement(), robMarkerHit ) else outputChatBox ( "* ERROR: You already robbing!", 255,0,0 ) end end function robMarkerHit (hitPlayer, matchingDim) for index,markers in pairs(robingMarkers) do if (source == markers) then if not ( getPedOccupiedVehicle ( getLocalPlayer() )) then triggerServerEvent ( "addStar", getLocalPlayer()) triggerServerEvent ( "addMoney", getLocalPlayer()) else outputChatBox ( "* ERROR: Please come out from your vehicle to start robbing!", 255,0,0 ) end end end end addEventHandler ( "onClientMarkerHit", getRootElement(), robMarkerHit ) function stopRobbing (commandName) for i,v in pairs ( robingMarkers ) do destroyElement ( v ) end for i,v in pairs ( robbingBlips ) do destroyElement ( v ) end end -- server -- function addStar ( ) local wanted = getPlayerWantedLevel ( source ) if not ( wanted == 6 ) then setPlayerWantedLevel ( source, wanted+1 ) end end addEvent ( "addStar", true ) addEventHandler ( "addStar", getRootElement(), addStar ) function addMoney ( ) local money = math.random(200,600) givePlayerMoney ( source, math.random(200,600) outputChatBox ( "* INFO: Well done, you robbed house and earned "..money.."$ ! Go on with robbing and earn money!", source, 0,255,0 ) end end addEvent ( "addMoney", true ) addEventHandler ( "addMoney", getRootElement(), addMoney )
  7. it will show ur script erros. Try, go in game, login with admin account, and write to chatbox /debugscript 3 Now you can see a small window down your screen, There will come errors, like to console ( black window, deffault ) but debugscript can show you errors what console cant.
  8. sorry man, my bad, i readed wrong,so can you fuck alliens ?
  9. LOL WTF?! You can sex with zombies too ? :D:D
  10. CowTurbo

    TXD Model

    maybe that helps you, takes time to load all list for me and lags for me too https://wiki.multitheftauto.com/index.php?title=IDE_List
  11. CowTurbo

    Problems

    sorry, dont have good day today...
  12. With part of DKR one ? No need.
  13. CowTurbo

    Problems

    [/lua] function iamAdmin() local account = getPlayerAccount(source) if not account then return end local accountName = getAccountName(source) if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Admin" ) ) then setPlayerNametagText (source, "{JWORLD}..getPlayerName(source)) setPlayerTeam (source, teamA) ouputChatBox ("* INFO: Admin have logged in!") end if isObjectInACLGroup ( "user." .. accountName, aclGetGroup ( "Moderator" ) ) then setPlayerNametagText (source, "{JWORLDMOD}..getPlayerName(source)) setPlayerTeam (source, teamM) ouputChatBox ("" INFO: Moderator have logged in!") end end addEventHandler("onPlyerLogin", getRootElement(), iamAdmin)[/lua] when you chat, then you will see the tag,
  14. Those guys know how to steal
  15. Yippi!! kidding, dont do it Phat Looser =(
  16. scripter gets what for scripting ?
  17. This topic can be closed, because The Kid have lost the code.
  18. I think he know when he's steling But good when it made your day rofl
×
×
  • Create New...