Invisible Command not working :(
#1

Hey guyz,I have tried fixing this command and it's till not working what's wrong with it if you can help Edit it and put it down there.
Код:
COMMAND:invisible(playerid,params[])
{
	if(PlayerInfo[playerid][pAdminlevel] > 0)
	{
		if(PlayerInfo[playerid][pHiding] == 0)
		{
		    PlayerInfo[playerid][pvColor] = GetPlayerColor(playerid);
			SetPlayerColor(playerid, 0xFFFFFF00);
   			GameTextForPlayer(playerid, "~n~~n~~n~~n~~g~Invisible!",2500,3);
   			PlayerInfo[playerid][pHiding] = 1;

   			if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
   			{
   	    		new Int1 = GetPlayerInterior(playerid);
   	    		LinkVehicleToInterior(GetPlayerVehicleID(playerid),Int1+1);
    		}
    		return 1;
		}
		else SendClientMessage(playerid, COLOR_ERROR,"You are Already Invisible.");
	}
	else SendClientMessage(playerid,COLOR_ERROR,""ERROR_MSG"");
	return 1;
}
Reply


Messages In This Thread
Invisible Command not working :( - by WaJeeH - 21.06.2015, 20:01
Re: Invisible Command not working :( - by XBrianX - 21.06.2015, 20:09
Re: Invisible Command not working :( - by SickAttack - 21.06.2015, 20:14
Re: Invisible Command not working :( - by WaJeeH - 21.06.2015, 20:35

Forum Jump:


Users browsing this thread: 1 Guest(s)