need help with randomspawn
#1

hey guys,
i want to make a random spawn for my classes and now i made this but it isnt working and i get all kind of warnings and errors.
on top of script:
Код:
new Float:RandomSpawnStreetRacers[][4] =
{
    // Positions, (X, Y, Z and Facing Angle)
    {-2796.9854, 1224.8180, 20.5429, 192.0335},
    {-2454.2170, 503.8759, 30.0790, 267.2932},
    {-2669.7322, -6.0874, 6.1328, 89.8853}
};
under OnGameModeInit()
Код:
	// streetracers class
	RandomSpawnStreetRacers = AddPlayerClass(105,2497.2693,-1676.9578,13.3398,23.6501,0,0,0,0,0,0); //Streetracers member (1)
	RandomSpawnStreetRacers = AddPlayerClass(106,1048.4546,1928.2059,10.8203,261.0777,0,0,0,0,0,0); //Streetracers member (2)
    RandomSpawnStreetRacers = AddPlayerClass(107,2497.2693,-1676.9578,13.3398,23.6501,0,0,0,0,0,0); //Streetracers member (3)
   	RandomSpawnStreetRacers = AddPlayerClass(115,2497.2693,-1676.9578,13.3398,23.6501,0,0,0,0,0,0); //Streetracers member (4)
	RandomSpawnStreetRacers = AddPlayerClass(108,2497.2693,-1676.9578,13.3398,23.6501,0,0,0,0,0,0); //Streetracers member (5)
but this isnt working... this are the errors:
Код:
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting1.pwn(73) : error 021: symbol already defined: "RandomSpawnStreetRacers"
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting1.pwn(2100) : warning 217: loose indentation
F:\program files\my own drifting gamemode\gamemodes\NYD_Drifting1.pwn(91) : warning 204: symbol is assigned a value that is never used: "RandomSpawnStreetRacers"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
help pls.
niels
Reply


Messages In This Thread
need help with randomspawn - by niels44 - 30.11.2011, 16:17
Re: need help with randomspawn - by Kostas' - 30.11.2011, 16:26
Re: need help with randomspawn - by niels44 - 01.12.2011, 12:43
Re: need help with randomspawn - by Kostas' - 01.12.2011, 12:51
Re: need help with randomspawn - by niels44 - 01.12.2011, 13:21
Re: need help with randomspawn - by niels44 - 01.12.2011, 14:19
Re: need help with randomspawn - by Kostas' - 01.12.2011, 14:20
Re: need help with randomspawn - by niels44 - 01.12.2011, 17:13
Re: need help with randomspawn - by niels44 - 01.12.2011, 17:30
Re: need help with randomspawn - by niels44 - 01.12.2011, 17:54

Forum Jump:


Users browsing this thread: 4 Guest(s)