Wrong spawn location - 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: Wrong spawn location (
/showthread.php?tid=463274)
Wrong spawn location -
NathNathii - 11.09.2013
So in my
Police Class people are supposed to spawn in Fort Carson Police Department when they use /rescue and choose
Fort Carson, and should sometimes spawn at a random location (SFPD, LSPD, LVPD or FCPD).
I do have the coordinates to Fort Carson Police Department, but it takes me to Dillimore when I use /rescue.
pawn Код:
new ASpawnLocationsPolice[][TSpawnLocation] =
{
{-217.18, 979.09, 19.50, 272.0} // Fort Carson
};
pawn Код:
case 4: SetSpawnInfo(playerid, 0, GetPlayerSkin(playerid), -217.18, 979.09, 19.50, 272.0, 0, 0, 0, 0, 0, 0);
Re: Wrong spawn location -
Lajko1 - 11.09.2013
Well I'm not sure but if you have coordinates set inside of police Department then you should use set Player Interior ?
Re: Wrong spawn location -
NathNathii - 11.09.2013
I mean outside the Police Department.
Re: Wrong spawn location -
NathNathii - 11.09.2013
Tried some other coordinates, still the same thing..
Re: Wrong spawn location -
NathNathii - 12.09.2013
Any ideas?
Re: Wrong spawn location -
Omar55555 - 12.09.2013
tell me what police dapartment u want to set player spawn at ?? (sf,ls,lv)
Re: Wrong spawn location -
NathNathii - 12.09.2013
The one in Fort Carson.
Re: Wrong spawn location -
Kirollos - 12.09.2013
why don't you try SetPlayerPos ?
Re: Wrong spawn location -
NathNathii - 13.09.2013
Because that would mess up the whole system, tried before.