SA-MP Forums Archive
[help]respawn - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [help]respawn (/showthread.php?tid=116418)



[help]respawn - Jo1Nt - 28.12.2009

I want to change the normal respawn place.I already have a pwn file ,i just want to pass the coordonates to the other one?How can i do this?


Re: [help]respawn - MadeMan - 28.12.2009

Copy and Paste


Re: [help]respawn - Jo1Nt - 28.12.2009

I mean what i need to copy?


Re: [help]respawn - [Bm]rap45 - 29.12.2009

You mean,you want to pass the skins and spawn locations to another script? then copy your player classes from OnGameModeInit like the ones from below, same with vehicles. If I'm not right then tell us more specific.

Код:
public OnGameModeInit()
{

	//Classes
	AddPlayerClass(109,2227.4609,-1040.3625,57.7268,315.4581,24,100,27,135,28,230); // vago 2
	AddPlayerClass(104,1487.9331,-699.7891,94.7500,183.5936,0,0,0,0,0,0); // Balla 1
	AddPlayerClass(114,2360.6626,187.0306,27.7316,74.4872,0,0,0,0,0,0); // azteca 2
}