SA-MP Forums Archive
Chaning First time spawn - 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: Chaning First time spawn (/showthread.php?tid=409657)



Chaning First time spawn - Jamch - 22.01.2013

Hello. i have this wierd problem. i been lookin all over to find out what i can do to fix it.

Problem: i am trying to change player's first time spawn when they register the account. i have changed the coords under

AddPlayerClass

and still no luck. Please help


AW: Chaning First time spawn - Harry :) - 22.01.2013

Quote:
Originally Posted by Jamch
Посмотреть сообщение
Hello. i have this wierd problem. i been lookin all over to find out what i can do to fix it.

Problem: i am trying to change player's first time spawn when they register the account. i have changed the coords under

AddPlayerClass

and still no luck. Please help
it's no matter of addplayerclass, it's just adding the skin location at skin selection. look at OnPlayerSpawn


Re: Chaning First time spawn - DaRk_RaiN - 22.01.2013

Just SetPlayerPos in OnPlayerSpawn


Re: Chaning First time spawn - Jamch - 22.01.2013

new Float:X, Float:Y, Float:Z;
GetVehiclePos(GetPVarInt(playerid, "NGPassengerVeh"), X, Y, Z);
SetPlayerPos(playerid, (X-2293), (Y-2449), Z);

Something to do with that? cause i cant find the skin thing.