Jump to content

Como Crear un Tiburon


iSmokee

Recommended Posts

addCommandHandler("Tiburon", 
function (source) 
local xg, yg, zg = getElementPosition(source)        
objeto =  createObject(1608,xg, yg+5 ,zg) 
local TibuCol = createColCircle ( xg, yg+5, 4.0 ) 
outputChatBox ("Haz Creado un Tiburon!",source, 255, 0, 0, false) 
function OTibu(hitElement, matchingDimension) 
  if (getElementType (hitElement) == "player")  then 
setTimer(killPed,1000,1,hitElement,true) 
  end 
end 
addEventHandler ("onColShapeHit", TibuCol,OTibu ) 
end 
) 
  

Es un Simple script, crea un Tiburon y un Cuboid y cuando entras, te mata.

Link to comment
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...