RedEM-RP / redemrp_identity

An Identity Creation System for RedEM:RP
https://redemrp.org/
GNU General Public License v3.0
12 stars 18 forks source link

Able to see characters of other people #28

Open SpectreLoki opened 2 years ago

SpectreLoki commented 2 years ago

Sometimes players are able to see the characters of other players in the character selection screen.

No error is shown in the server console or client console.

Players are not able to select these other characters, they are just shown to them.

GetParanoid commented 2 years ago

Believed I fixed this by setting "isNetwork" to false on the CreatePed Native in cl_main.lua

CreatePed(maleHash, Config.charcoords[i].x, Config.charcoords[i].y, Config.charcoords[i].z, 200.0, false, true, 0, 0) & CreatePed(femaleHash, Config.charcoords[i].x, Config.charcoords[i].y, Config.charcoords[i].z, 200.0, false, true, 0, 0)

https://vespura.com/doc/natives/?_0x389EF71=