Need help with /briefcase
#1

Код:
warning 213: tag mismatch
warning 202: number of arguments does not match definition
Код:
	if(strcmp(cmd, "/briefcase", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
			if(PlayerInfo[playerid][pBCase] == 1)
			{
				if(BCase[playerid] == 0)
				{
                    SetPlayerAttachedObject(playerid, 1210, 6,0.3,0.1,0,0,-90,0); // BriefCase
                    SendClientMessage(playerid, COLOR_WHITE, " You have pulled out your briefcase. ");
                    BCase[playerid] = 1;
	        		return 1;
	        	}
	        	else if(BCase[playerid] == 1)
	        	{
                    RemovePlayerAttachedObject(playerid);
                    SendClientMessage(playerid, COLOR_WHITE, " You have put away your briefcase. ");
                    BCase[playerid] = 0;
	        		return 1;
	        	}
	        }
	        else
	        {
				SendClientMessage(playerid, COLOR_GRAD2, " You don't own a briefcase !");
				return 1;
			}
	        return 1;
		}
		return 1;
	}
Reply


Messages In This Thread
Need help with /briefcase - by trapped1 - 18.02.2012, 12:44
Re: Need help with /briefcase - by milanosie - 18.02.2012, 12:47
Re: Need help with /briefcase - by trapped1 - 18.02.2012, 12:51
Re: Need help with /briefcase - by Rg-Gaming.Info - 02.07.2012, 11:17
Respuesta: Need help with /briefcase - by [DOG]irinel1996 - 02.07.2012, 11:22
Re: Need help with /briefcase - by Rg-Gaming.Info - 02.07.2012, 11:23
Respuesta: Need help with /briefcase - by [DOG]irinel1996 - 02.07.2012, 11:31
Re: Respuesta: Need help with /briefcase - by Rg-Gaming.Info - 02.07.2012, 11:55

Forum Jump:


Users browsing this thread: 1 Guest(s)