SA-MP Forums Archive
This doesn't work. - 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: This doesn't work. (/showthread.php?tid=477265)



This doesn't work. - RedCounty - 23.11.2013

pawn Код:
if(Player[playerid][NoobSpawn] == 1)//North
                {
                    SetSpawnInfo(playerid, 0, Player[playerid][Skin], 1.0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0);
                }
                if(Player[playerid][NoobSpawn] == 2)//Blueberry
                {
                    SetSpawnInfo(playerid, 0, Player[playerid][Skin], 1.0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0);
                }
                if(Player[playerid][NoobSpawn] == 3)//Monty
                {
                    SetSpawnInfo(playerid, 0, Player[playerid][Skin], 1262.4231,171.3868,19.5681,68.5770, 0, 0, 0, 0, 0, 0);
                }
                SetPlayerHealth(playerid, 100);
                Player[playerid][Health] = 100;
                SpawnPlayer(playerid);
It sends me flying across the map then kills me whats the issue? (spawn is set to 3)


Re: This doesn't work. - J4mmyHD - 23.11.2013

You dont have any Cords in the Blueberry and North.

Replace 1.0 With the Cords, and it should be fine.


Re: This doesn't work. - RedCounty - 23.11.2013

Quote:
Originally Posted by J4mmyHD
Посмотреть сообщение
You dont have any Cords in the Blueberry and North.

Replace 1.0 With the Cords, and it should be fine.
You obviously don't know what you're talking about, because I stated that it was "3" I was using, which would be Monty.

I've resolved this though, so thanks for trying!