Jump to content

TmM_DEVIL

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by TmM_DEVIL

  1. stick mahunt in there i got a script allready for it little bit buggy but you could prob fix post if u want me add script to post
  2. doesent work for some reason here is what i got if some one could help me local image function pic(toggle) local screenWidth, screenHeight = guiGetScreenSize() local image = guiCreateStaticImage(screenWidth/2 - -290, screenHeight - 80, 220, 100, 'lama.png', false, nil) end function picdel( killer, weapon, bodypart ) destroyElement( image ) end addEvent("onGreeting", true) addEventHandler("onGreeting", getRootElement(), pic) addEventHandler ( "onClientPlayerWasted", getLocalPlayer(), picdel)
  3. great thx for the help just trying get used to this
  4. yea but me a script noob how would i go about it with the cleint script above
  5. i cant figger out how destroy the element on my client script though could u give a example
  6. yes mine works i need it to remove image on client wasted
  7. i did this to add image to client side left lower part of screen but stuck on how remove it on client death heres is the code this in server side for event triggerClientEvent ( "onGreeting", getRootElement(), "" ) client function pic(toggle) local screenWidth, screenHeight = guiGetScreenSize() local player = guiCreateStaticImage(screenWidth/2 - -290, screenHeight - 80, 220, 100, 'lama.png', false, nil) end addEvent("onGreeting", true) addEventHandler("onGreeting", getRootElement(), pic) addEventHandler ( "onClientPlayerWasted", getRootElement(), picDied) i just need help with destroy on client death command
  8. how do i go about destroying this image when another user is selected from server side script client function pic() local screenWidth, screenHeight = guiGetScreenSize() local lama = guiCreateStaticImage(screenWidth/2 - -290, screenHeight - 80, 220, 100, 'lama.png', false, nil) end addEvent("onGreeting", true) addEventHandler("onGreeting", getRootElement(), pic) server function lamaHunt ( player, command, killer ) if ( command and lama ) then --local blip = getElementData ( source, "lamablip" ) if ( blip ) then destroyElement ( blip ) blip = nil end setPlayerWantedLevel ( lama, 0 ) end lama = killer or getRandomPlayer() if ( lama ) then blip = createBlipAttachedTo ( lama, 23 ) triggerClientEvent ( "onGreeting", getRootElement(), "" ) --setElementData ( lama, "lamablip", blip ) setTimer ( setPlayerWantedLevel, delay, 1, lama, 6 ) setTimer ( outputChatBox, delay, 1, "You're the lama, run!", lama ) for i, v in ipairs ( getElementsByType ( "player" ) ) do if ( v ~= lama ) then setTimer ( outputChatBox, delay, 1, getClientName ( lama ) .. " is the lama!", v ) end end end end
  9. i have the manhunt script started need some help with on player wasted chose a new random player with blip and wanted stars here is code i using to do them things function lamahunt ( player, command ) local Player = getRandomPlayer ( ) local myBlip = createBlipAttachedTo ( Player, 23 ) setPlayerWantedLevel ( Player, 6 ) outputChatBox("your the lama run!") end function playerDied( killer, killerWeapon, bodypart) outputChatBox(getClientName(source).." The Lama died!") end addEventHandler ( "onPlayerWasted", getRootElement(), playerDied ) addCommandHandler ( "lama", lamahunt ) thanks
  10. TmM_DEVIL

    manhunt

    can some one help me out to get started with a manhunt script just need it pick random player have a time limit and pick another random player on death also on screen big txt would be great i can mod code just need some help in getting me started thx
  11. how come joypads work in single player but not mta dm it a pain in the arse flying choper without a pad is there gonna be a fix for binding joypads also i got vista and it dont work in vista what so ever had to daul boot with xp just to play it
  12. i have full acces remotely to my webserver loads of space how do i run i have no problems uploading the serverfiles but how do i start the server one uploaded
  13. can you run mta server on a web server if u can how do i go about running it i have a webserver with unlimited bandwith mant thanks
×
×
  • Create New...