error 029: invalid expression (help plz)
#2

Done!!!
Код:
if ( response )
{
	switch ( listitem )
	{
		case 0:
		{
			new string[128], pName[MAX_PLAYER_NAME];
			GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			format(string, sizeof(string), "{FF0000}(/glass) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Glass DeathMatch",pName);
			SendClientMessageToAll(playerid, string);
			new Random = random(sizeof(RandomSpawnGlassDM));
			SetPlayerPos(playerid, RandomSpawnGlassDM[Random][0], RandomSpawnGlassDM[Random][1], RandomSpawnGlassDM[Random][2]);
			SetPlayerFacingAngle(playerid, RandomSpawnGlassDM[Random][3]);
		}
		case 1:
		{
			new string[128], pName[MAX_PLAYER_NAME];
			GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
			format(string, sizeof(string), "{FF0000}(/minigun) {FFFF00}Player {FF0000}%s {FFFF00}has Teleported to {FF0000}Minigun DeathMatch",pName);
			SendClientMessageToAll(playerid, string);
			new Random = random(sizeof(RandomSpawnMinigunDM));
			SetPlayerPos(playerid, RandomSpawnMinigunDM[Random][0], RandomSpawnMinigunDM[Random][1], RandomSpawnMinigunDM[Random][2]);
			SetPlayerFacingAngle(playerid, RandomSpawnMinigunDM[Random][3]);
		}
	}
}
Reply


Messages In This Thread
error 029: invalid expression (help plz) - by andrewgrob - 12.08.2012, 10:05
Re: error 029: invalid expression (help plz) - by Jessyy - 12.08.2012, 10:10
Re: error 029: invalid expression (help plz) - by andrewgrob - 12.08.2012, 10:15

Forum Jump:


Users browsing this thread: 1 Guest(s)