[Help]Random Spawning?
#1

Код:
enum PlayerSpawnInfo {
	Float:PlayerX, //Line 345
	Float:PlayerY,
	Float:PlayerZ,
	Float:PlayerAngle
}

  new Float:gRandomSpawns[][PlayerSpawnInfo] =
{
	{2493.9133, -1682.3986, 13.3382},
	{-2617.5156, 1390.6353, 7.1105},
	{2028.5538, 1008.3543, 10.8203},
	{1541.2833, -1362.4741, 329.6457},
}; //Line 357
Errors:
Код:
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(357) : error 029: invalid expression, assumed zero
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(357) : error 008: must be a constant expression; assumed zero
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(357) : warning 204: symbol is assigned a value that is never used: "gRandomSpawns"
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(349) : warning 203: symbol is never used: "PlayerAngle"
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(347) : warning 203: symbol is never used: "PlayerZ"
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(346) : warning 203: symbol is never used: "PlayerY"
C:\DOCUME~1\USERS\Desktop\server\GAMEMO~1\Death.pwn(345) : warning 203: symbol is never used: "PlayerX"
I took this out of the Mingun Madness Script...

If you cant figure this out, then pesae atleast tell me how to make Random Spawns!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)