Delete Map Icon of Player
#5

damn it, i got some annoying errors -.-
Code:
if(strcmp("/hns", cmdtext, true, 10) ==0)
	{
	    if(AccInfo[playerid][hns] == 0)
	    {
	        if(AccInfo[playerid][afk] == 0)
	        {
	            SendClientMessage(playerid,GREEN,"You want to play Hide'n'Seak, heh? Have fun!");
	            SendClientMessage(playerid,LIGHTBLUE,"But please follow the /rules!");
	            AccInfo[playerid][hns] == 1;
	            DestroyVehicle(playerid);
	            new rand = random(1);
				switch (rand)
				{
				case 0:SetPlayerPos(playerid,405.9053,2456.6348,16.5000),SetPlayerTeam(playerid,0),SetPlayerSkin(playerid,164);
				case 1:SetPlayerPos(playerid,1318.2029,1284.1371,10.8203),SetPlayerTeam(playerid,1),SetPlayerSkin(playerid,33);
				}
			}
			else
			{
			SendClientMessage(playerid,red,"Error: You can't use that cmd when you're cmd. Please use /afk to be able!");
			return 1;
		}
		else
		{
   		SendClientMessage(playerid,LIGHTGREEN,"Huh, you're already in the Game, please use /exit to exit this Game!");
		return 1;
	}
The Errors are everywhere xD
This is not really the title of this topic, but can anyone help me?

EDIT: Why the hell is that Code like this, i postet a different one....
Sorry Guys, but i think i can't post the original Code >.<
Reply


Messages In This Thread
Delete Map Icon of Player - by HardstylerNiko - 05.09.2010, 06:35
Re: Delete Map Icon of Player - by iggy1 - 05.09.2010, 06:38
Re: Delete Map Icon of Player - by Geso - 05.09.2010, 06:39
Re: Delete Map Icon of Player - by HardstylerNiko - 05.09.2010, 06:53
Re: Delete Map Icon of Player - by HardstylerNiko - 05.09.2010, 06:57
Re: Delete Map Icon of Player - by iggy1 - 05.09.2010, 06:58
Re: Delete Map Icon of Player - by Geso - 05.09.2010, 07:01
Re: Delete Map Icon of Player - by HardstylerNiko - 05.09.2010, 07:12

Forum Jump:


Users browsing this thread: 1 Guest(s)