Jump to content

squaredb

Members
  • Posts

    10
  • Joined

  • Last visited

Details

  • Gang
    Spin to Win

squaredb's Achievements

Member

Member (5/54)

0

Reputation

  1. I was happy until today's system halt of Multi Theft Auto. Each and every server has timed out on their server downloads causing the game to become unplayable. Opened all ports, canceled all firewalls, and still MTA locks up in zero ability get past download, connection then times out, and it is generally not fun. What a scam and a waste of a donation.
  2. like a woman I still don't understand... I'm still in trouble with the trigger. Thank you from a newbie.
  3. I can do that, however fxAddBlood is a client side only function. I want and probably need to program my bloodpools server side. Still searching.
  4. Hey fellas, I am looking to find the object ID for the bloodpools seen around CJ. Any ID lead will help. Ideas include the [ .dff file ID ]?, the [ object ID ]?, [ other ID ]?, any ID that will allow me to script createObject(bloodpool). Thanks for your time.
  5. function createPedoForPlayer ( thePlayer, command, modelid ) local x, y, z = getElementPosition ( thePlayer ) y = ( y + 5 ) ped = createPed ( 122, x, y, z, 180 ) setElementAlpha ( ped, 0 ) killPed ( ped ) end addCommandHandler ( "createpedo", createPedoForPlayer ) ^^^ This code is fun to play with. As I drive through MTAforums I'm going to hit the nitrous oxide that is the members . I'm coming out saying that I am making an oil slick mod. The idea starting from the SA bloodpools reminding me of the oil slick sprites from GTA 2. So the way the script would work [in my head] is it creates the instance above behind an attached vehicle. At the same time as the "ped Death" and pooling blood/oil (I'd like to change the color to black too, but one thing at a time) an invisible toggle marker would be placed in the pools of blood/oil which modify vehicleHandling of pursuit vehicles to spin, sputter, act erratic, etc. Do you fellas have more script ideas to get the mod rolling? It's going to be chaos. One problem I already have the ped are not made invisible instantly, there is a time lag blip where skin is visible. I have also searched for existing police stinger spike strip scripts to base off of without luck.
  6. function createVehicleForPlayer(thePlayer, command, modelid) local x,y,z = getElementPosition(thePlayer) -- get the position of the player y = y + 5 -- add 5 units to the y position thePed = createPed(tonumber(122),x,y,z,180) end addEvent("killPedoForPlayer", true) function killPedoForPlayer() killPed(thePed) outputChatBox("Hell hath cometh",thePlayer) end addCommandHandler("killpedo", killPedoForPlayer) addCommandHandler("createpedo", createVehicleForPlayer) Damn Solidsnake, I figured out a way too, but not nearly as fast as you. Slow down Thank you again.
  7. Stuck here, ped will spawn, but can't make it drop dead. It's the darn kill function and my lack of bool understanding. Ideas on how run the kill function? function createPedoForPlayer(thePlayer, command, modelid) local x,y,z = getElementPosition(thePlayer) y = y + 5 createPed(tonumber(122),x,y,z,180) killPed(tonumber(122)) end addCommandHandler("createpedo", createPedoForPlayer) I had a if / then where when the createPed was true, then killPed, but could not get that working either. Thank you for the helps.
  8. My post has gone corrupt, it should be deleted as I have never included any code. This is an ugly hack of an attemp. I can create a ped. If I kill the ped it leaves the blood pool, so if I want the bloodpool only, I should createPed, killPed, and make the corpse invisible instantly yes? Well I can createPed, I can't yet killPed, and I am getting bummed out in even finding away to hide the corpse.
  9. Okay, you win because I like your style. Still I have the question of how to find the blood placement command code. I want to have a trail of blood pools following CJ around the map. I looked into fxAddBlood and setPedFootBloodEnabled but don't think it is what sprite texture I am looking to leave laying around the map. I want to make the map look like bodies have been laying around everywhere, something like the ground of the zombie mod picture. Bloodpool sprites all around the map.
  10. The below doesn't seem possible, but I have a new question, may I get some help placing blood sprites around CJ? I haven't found the model ID number to display blood on the ground.
×
×
  • Create New...