Need PLayer Spawn System in LS - 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: Need PLayer Spawn System in LS (
/showthread.php?tid=586417)
Need PLayer Spawn System in LS -
Alexander1234 - 21.08.2015
I NEED PLAYER SPAWN SYSTEM IN LS INFRON THE TAXI STATION
Re: Need PLayer Spawn System in LS -
CrazyChoco - 21.08.2015
Make one?
Re: Need PLayer Spawn System in LS -
Alexander1234 - 21.08.2015
how ?
Re: Need PLayer Spawn System in LS -
jamal1992 - 21.08.2015
ooh god, go there and save sa positions (/save) and then in gamemode to fuction OnPlayerSpawn put:
Код:
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, PositionX, Position Y, PositionZ);
if you have faction/groups, you must to do conditions:
If(PayerInfo[playerid][pFaction] > 0)
{
Coordonate to spawn at faction spawn....
}
else
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, PositionX, Position Y, PositionZ);
}
PayerInfo[playerid][pFaction] is an example for variable which stock the faction for player.
Your variable can be called otherwise.
Re: Need PLayer Spawn System in LS -
Alexander1234 - 22.08.2015
i got script how to get the spawn system from it
Re: Need PLayer Spawn System in LS -
SoFahim - 22.08.2015
Check OnPlayerSpawn and put the coords. also check register system