RedEM-RP / redemrp_skin

A Character Creation system for RedEM:RP
https://redemrp.org/
GNU General Public License v3.0
7 stars 19 forks source link

Crashing once getting to create a character #2

Closed ItsAegeus closed 4 years ago

ItsAegeus commented 4 years ago

any time joining the server some players will get to make a name and then the character screen will show up but crash shortly after showing.

Ashember commented 4 years ago

Having the same issue, it does work intermittently, with server restarts but very unpredictable.

mkondrac commented 4 years ago

Add this in your server.cfg

add_ace resource.redem command.add_principal allow add_ace resource.redem command.add_ace allow

MidasCE commented 4 years ago

Hi, I just come here to verify that this crash is happening to me too.

@mkondrac That doesn't solve the problem for me. (Actually it's needed to set it up for the main redEm resource)

TheRealCrappyGamer commented 4 years ago

I can confirm I have this same problem.

ghost commented 4 years ago

Mine works fine after applying a hot fix to the client lua

TheRealCrappyGamer commented 4 years ago

What is the hot fix? I just downloaded the latest branch 10 minutes ago.

ghost commented 4 years ago

Give me 5 mins il find it

ghost commented 4 years ago

Find this in your client Lua and replace it clear cache to be safe ```RegisterNetEvent('redemrp_skin:changeSex2') AddEventHandler('redemrp_skin:changeSex2', function(model) local model2 = model

RequestModel(model2)

Citizen.CreateThread(function() local waiting = 0 while not HasModelLoaded(model2) do waiting = waiting + 100 Citizen.Wait(100) if waiting > 5000 then print("Could not load ped") break end end Citizen.InvokeNative(0xED40380076A31506, PlayerId(), model2)

   Citizen.InvokeNative(0x283978A15512B2FE,PlayerPedId(),true)
    SetModelAsNoLongerNeeded(model2)
    print("works")

end)

end)```

ghost commented 4 years ago

Obviously remove the things before Register and after end)

TheRealCrappyGamer commented 4 years ago

That worked perfectly!

ghost commented 4 years ago

Glad to help 😉

amakuu commented 4 years ago

Download the newest version, and try again it should work now. /close