Random Spawns are spawning me in Blueberry. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Random Spawns are spawning me in Blueberry. (
/showthread.php?tid=109143)
Random Spawns are spawning me in Blueberry. -
Giacomand - 18.11.2009
This is part of my code:
http://pastebin.com/m72b4306c
Now every time I use the spawns I created in the Float, I always spawn in
Blueberry.
Even if I commented out the if functions, it still won't work. It's something to do with the Float and I don't know what. Why does it even spawn in Blueberry?
If I remove it, I spawn in LV.
Re: Random Spawns are spawning me in Blueberry. -
Benne - 18.11.2009
Well I can't solve it since I don't got the biggest experience in random spawning.. But you could try check out the grandlarc script there's a random spawn thing there which works, it might help you.
Re: Random Spawns are spawning me in Blueberry. -
Retardedwolf - 18.11.2009
I think they are the default spawns by SA-MP?
Re: Random Spawns are spawning me in Blueberry. -
yom - 18.11.2009
In those arrays you use parenthesis when you have to use braces.
pawn Код:
new Float:SpawnParamedic[][3] =
{
(2026.0413,-1405.8151,17.2174),
pawn Код:
new Float:SpawnParamedic[][3] =
{
{ 2026.0413, -1405.8151, 17.2174 },
Re: Random Spawns are spawning me in Blueberry. -
Giacomand - 18.11.2009
Quote:
Originally Posted by 0rb
In those arrays you use parenthesis when you have to use braces.
pawn Код:
new Float:SpawnParamedic[][3] = { (2026.0413,-1405.8151,17.2174),
pawn Код:
new Float:SpawnParamedic[][3] = { { 2026.0413, -1405.8151, 17.2174 },
|
Thank you, I'll test it.