PDA

View Full Version : Something weird on server happening


severance
03/09/2018, 11:18 AM
I got multiple spawns on a server that gets map automatically changed, and i noticed (everything works) that for 1 second i get spawn somewhere else with sawnoff and tec9 on an elevator from grand larceny location (high roller, LV), that's only happening for a thiny second. I could ignore it, but it's not really good to see you spawning to an elevator for a second and then spawning when you need. There is no GetPlayerWeapon function that gives you sawnoff ID and Tec9 ID or setplayerpos in this particular area. Everything is checked and my gamemode is made from scratch

Calisthenics
03/09/2018, 11:22 AM
It seems as SetSpawnInfo has been used and it also uses SetPlayerPos in OnPlayerSpawn.

severance
03/09/2018, 02:29 PM
The setspawninfo function is used only on my Sync System which is

SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), Pos[0], Pos[1], Pos[2]-0.4, Pos[3], 0, 0, 0, 0, 0, 0);

There are no weapons such as sawn off or tec9..