Jump to content

Hunter Kills Error ayuda porfavor :s


explOdeR

Recommended Posts

Hunter Kills Saben estube toda la noche Intentando arreglar mi hunter kills pero nada :S necesito ayuda i en Scripting dije que cerraran el post ya que no se mucho ingles porfavor necesito ayuda :(

Client Side ..

function Explode () 
local him = getPlayerName( killer) 
local i = getPlayerName( source ) 
    if getElementType ( killer ) =="vehicle" then 
    triggerServerEvent ( "onClientVehicleExplode",getRootElement()) 
    driver = getVehicleOccupant ( killer ) 
    if driver then 
    outputChatBox( tostring ".. him Has Killed .. i and got +1 Hunter Killes",255,255,0) 
end 
end 
end 
addEventHandler("onClientVehicleExplode",getRootElement(),Explode) 

Server Side..

exports.scoreboard:addScoreboardColumn('Hunter Kills') 
  
addEvent("onClientVehicleExplode",true) 
addEventHandler("onClientVehicleExplode",root, 
function (killer) 
local add = getElementData("Hunter Kills") 
setElementData("Hunter Kills", add+1) 
setElementData(source,"Hunter Kills","0") 
    givePlayerMoney(killer, 100) 
end) 

si pueden ayudarme seria de mucha ayuda i quedaria en deuda con ustedes :)

Link to comment
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...