peixotorh Posted January 3, 2024 Share Posted January 3, 2024 RegisterCommand('npc',function(source) Β Β local user_id = vRP.getUserId(source) Β Β local identity = vRP.getUserIdentity(user_id) Β Β local hash2 = "cs_tom" Β Β local x,y,z = vRPclient.getPosition(source) Β Β local hash = 0x69E8ABC3 Β Β local h = GetEntityHeading(GetPlayerPed(-1)) Β Β Β if vRP.hasPermission(user_id,"admin.permissao") then Β Β Β Β Β Β ped = CreatePed(4,hash,x,y,z,h,false,true) Β Β Β Β peds = ped Β Β Β Β FreezeEntityPosition(ped,true) Β Β Β Β SetEntityInvincible(ped,true) Β Β Β Β SetBlockingOfNonTemporaryEvents(ped,true) Β Β end end) alguem consegue dizer por que o ped nao esta vindo com invencibilidade nem bloqueando os eventos, ele esta vindo apenas parado na coordenada Link to comment Share on other sites More sharing options...
[CEO] Solution Hideki Posted January 5, 2024 [CEO] Solution Share Posted January 5, 2024 OlΓ‘! Bem vindo. NΓ£o sei exatamente o que vocΓͺ precisa, porΓ©m tente isso: Hidden Content Login required This is the hidden content, please Sign In Sign Up Caso nΓ£o funcione, de uma olhada nesse script Standalone: Hidden Content Login required This is the hidden content, please Sign In Sign Up Atenciosamente, Link to comment Share on other sites More sharing options...
Recommended Posts