SA-MP Forums Archive
SPAWN BUG - 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 BUG (/showthread.php?tid=618518)



SPAWN BUG - Pearson - 06.10.2016

I have some spawn bug. add me on skype to show you bug in server. ********:arthour.p


Re: SPAWN BUG - Yaa - 06.10.2016

Please post here u code and issue and Screenshoot if needed

Skype not acceptable


Re: SPAWN BUG - Eoussama - 06.10.2016

Just share the part of the code you thing it has the problem


Re: SPAWN BUG - Yaa - 06.10.2016

For More Informations and Help

Post here u OnPlayerSpawn(playerid) Callback


Re: SPAWN BUG - Pearson - 06.10.2016

Ok listen, player is not spawning ...... idk why. and thats reason, why asked for skype


Re: SPAWN BUG - Pearson - 06.10.2016

PHP код:
    new randSpawn random(sizeof(randomSpawns_DayZSA_Part1));
    new 
skini random(300);
    
SetSpawnInfo(playerid,0,skini,randomSpawns_DayZSA_Part1[randSpawn][0],randomSpawns_DayZSA_Part1[randSpawn][1],randomSpawns_DayZSA_Part1[randSpawn][2],269.15,0,0,0,0,0,0);
    
//SendClientMessage(playerid, COLOR_RED, ""#servn" {78e7ff}Помни сынок: этих гадов можно убить стреляя им в ноги !");
    //if(Player[playerid][pAdmin] != 0) SendClientMessage(playerid, COLOR_RED, "Используйте /ah - админский хелп");
    
ini_closeFile(iniFile); // Закрываем файл.
    
TogglePlayerSpectating(playerid0);
    
SpawnPlayer(playerid);
    
SendClientMessage(playerid, -1"Just a debug");
    
//SetPlayerPos(playerid,randomSpawns_DayZSA_Part1[randSpawn][0],randomSpawns_DayZSA_Part1[randSpawn][1],randomSpawns_DayZSA_Part1[randSpawn][2]); 



Re: SPAWN BUG - azzerking - 07.10.2016

Can we see all the random spawn array?

Also where are you putting this code? Under OnPlayerSpawn??