SA-MP Forums Archive
Save - 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: Save (/showthread.php?tid=332983)



Save - oscar7610 - 09.04.2012

Hi Im having a problem player when connect he wont spawn when he left off (like 5min) or spawns in the house.

He will spawn back at my onplayerspawn x,y,z.


Re: Save - .FuneraL. - 09.04.2012

Save :

pawn Код:
AddPlayerClass(106,1954.2655,-1802.1234,13.5469,2.7508,0,0,0,0,0,0);
Take the coordinates:

pawn Код:
AddPlayerClass(106,"1954.2655,-1802.1234,13.5469",2.7508,0,0,0,0,0,0);



Re: Save - oscar7610 - 09.04.2012

So whats gonna happen now? I mean look.

AddPlayerClass(126,-1885.1042,58.7951,1055.1914,272.8028,0,0,0,0,0,0); // playerspawn


Re: Save - ViniBorn - 09.04.2012

Are you using SetSpawnInfo?