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.