im getting this error , kindly help me !
ERROR : Tag Mismatch ( Screenshot in attachment )
ERROR : Tag Mismatch ( Screenshot in attachment )
Code:
CMD:ddm ( playerid )
{
if ( PlayerInfo[playerid][inDM] == 1 ) return SendClientMessage( playerid, -1, ""RED"ERROR: "GREY"You are
already in a DM arena! Type /leave to exit!" );
PlayerInfo[playerid][inDM] = 1;
PlayerInfo[playerid][inMini] = 1;
PlayerInfo[playerid][inDMZone] = 3;
gMINIPlayers++;
GameTextForPlayer(playerid, "~r~Deagle DM!", 2000, 3);
SendClientMessage(playerid, COLOR_FIREBRICK, "** Welcome to Deagle DM!" );
new Float:RandomSpawns[][] =
{
{49,231.6420,143.7800,1003.0234,5.15950,},
{49,252.1088,185.7353,1008.1719,356.84330,},
{49,298.6837,173.9480,1007.1719,79.81210,},
{49,257.7563,170.8487,1003.0234,7.18100,} // "ITS SHOWING ERROR FOR THESE FOUR SPAWN
PLACES."
};
if (IsPlayerInAnyVehicle(playerid))
{
RemovePlayerFromVehicle(playerid);
}
new Random = random(sizeof(RandomSpawns));
SetPlayerPosition(playerid, RandomSpawns[Random][0], RandomSpawns[Random][1],
RandomSpawns[Random][2], RandomSpawns[Random][3]);
SetPlayerVirtualWorld(playerid, 1);
SetCameraBehindPlayer(playerid);
SetPlayerTeam(playerid, playerid);
ResetPlayerWeapons(playerid);
SetPlayerHealth(playerid, 100.0);
if ( PlayerInfo[playerid][VIP] == 1 )
{
SetPlayerArmour(playerid, 100.0);
}
GivePlayerWeapon(playerid, 24, 99999);
new str[128];
format(str, sizeof(str), ""GREEN":: {%06x}%s(%d) "TELEPORTBLUE"teleported to Deagle DM (/ddm)!",
(GetPlayerColor(playerid) >>> 8), GetName(playerid), playerid);
SendClientMessageToAll( -1, str );
return 1;
}