SA-MP Forums Archive
[SPAWN PROBLEM] Stay Within The World Boundries - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [SPAWN PROBLEM] Stay Within The World Boundries (/showthread.php?tid=585045)



[SPAWN PROBLEM] Stay Within The World Boundries - aliarbak - 10.08.2015

Hi all,

When a player enter in my server i get his last locations from db via these codes:


And i spawn user:


As you can see location formats are correct and player must be spawned correctly:


But when it spawns a player, these screen shows up:


I also added an "AddPlayerClass" in my OnGameModeInit and I don't have any codes about world boundries..

I'm waiting for your help. Thanks.


Re: [SPAWN PROBLEM] Stay Within The World Boundries - RareHunter - 10.08.2015

Add this code to OnGameModeInit();

Код:
SetGameModeText("Mod Name");



Re: [SPAWN PROBLEM] Stay Within The World Boundries - aliarbak - 10.08.2015

I solved it with adding SetGameModeText in my OnGameModeInit

It was weird.

@Rare

Thanks for your help buddy