Lots of changes
* Add optional offset for some anims (like sitting) * Fix int/vw chat check not working * Disable ambience utils for now * Add ped stop anim util * Fix enter veh messages * Fix radio stream not stopping when exiting vehicle * Fix job items bugging out * Don't save job equipment items * Switch to inactive item slot when going on/off duty * Fix gotospawn not working with int/vw * Added anims for offset use * Added element ID & syncer utils * Fixed wrong job name being shown when setting job vehicle rank * Added anim move type constants * Added element collision net events * Added is any GUI active util * Fixed showing player list when a GUI is active
This commit is contained in:
@@ -364,8 +364,8 @@ function gotoJobLocationCommand(command, params, client) {
|
||||
function gotoNewPlayerSpawnCommand(command, params, client) {
|
||||
client.player.velocity = toVector3(0.0, 0.0, 0.0);
|
||||
setPlayerPosition(client, getServerConfig().newCharacter.spawnPosition);
|
||||
setPlayerInterior(client, getServerConfig().newCharacter.spawnInterior);
|
||||
setPlayerDimension(client, getServerConfig().newCharacter.spawnDimension);
|
||||
setPlayerInterior(client, 0);
|
||||
setPlayerDimension(client, 0);
|
||||
updateInteriorLightsForPlayer(client, true);
|
||||
|
||||
messagePlayerSuccess(client, `You teleported to the new character spawn location!`);
|
||||
|
||||
Reference in New Issue
Block a user