Jump to content

[Ayuda] con 1 ped


Recommended Posts

Posted

alguien sabe como hacer para que 1 ped que fué creado en 1 interior se pueda ver, el ped que cree se ve invisible, y como puedo hacer para que no muera.

ped = createPed ( 178, -105.9716796875, -8.9130859375, 1000.71875, 90 ) 

Posted

Tienes que hacer que el ped se cree en el interior y la dimensión adecuada para que se pueda ver.

Some opportunities come once in a lifetime

Skype: alex.migliore1

Posted

setElementInterior

y onPedDamage, cancelEvent()

Actual Nick: [XGN]BorderLine

Actual Clan: XLatino

Actual Status: Staff, Mod Level 1

(BOSS)Yakuza - [vS]Yakuza - [sXE]Yakuza - [uG]Yakuza - [FTLS]Racing - [XGN]Borderline

  • MTA Team
Posted (edited)

Algo así seria.

  
function start() 
lol = createPed ( 178, -105.9716796875, -8.9130859375, 1000.71875, 90 ) 
setElementInterior(lol,9)--Aca tambien podes especificar las coordenadas exactas donde queres crearlo 
end 
addEventHandler("onResourceStart",root,start) 
  

----------------------------------------------------------------------------------------------

Client Side:

  
function cancel () 
cancelEvent () 
end 
addEventHandler("onClientPedDamage",lol,cancel) 
  

Edited by Guest

DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp

 
Posted

cancelEvent no tiene efecto en onPedDamage. Debes cancelar el evento en client side.

State: Inactive

  • Recently Browsing   0 members

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