[HELP] Random Spawns - 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: [HELP] Random Spawns (
/showthread.php?tid=268583)
[HELP] Random Spawns -
Cody9611 - 13.07.2011
Код:
C:\Documents and Settings\Administrator\Desktop\DeathMen\gamemodes\DMen.pwn(34) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Administrator\Desktop\DeathMen\gamemodes\DMen.pwn(34) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
Код:
28 new Float:RandomSpawns[][] =
29 {
30 {1958.3783,1343.1572,15.3746,269.1425},
31 {2000.9818,1522.5525,17.0682,7.4565},
32 {2057.2705,1906.9376,25.0625,26.3396},
33 {2061.2173,2167.5825,19.1559,181.3145},
34};
(The numbers at the start are the lines)
Re: [HELP] Random Spawns -
Godhimself - 13.07.2011
The last one needs a missing ,
change
pawn Код:
{2061.2173,2167.5825,19.1559,181.3145},
to
pawn Код:
{2061.2173,2167.5825,19.1559,181.3145}
Line 33