ZCMD in dialog click able command.
#5

Yeah it is created.. I looked in my code there was some miss understanding with

Code:

error 021: symbol already defined: "cmd_removeattachedobjects"
pawn Код:
CMD:removeattachedobjects(playerid, params[]) return cmd_raos(playerid, params);
CMD:removeattachedobjects(playerid, params[])
{
    if(GetPVarInt(playerid, "EditingAttachedObject") != 0 || GetPlayerState(playerid) == PLAYER_STATE_WASTED || GetPlayerState(playerid) == PLAYER_STATE_SPECTATING)
        return SendClientMessage(playerid, COLOR_YELLOW, "* Sorry, you can't use this command right now!"), 1;
    else if(!GetPlayerAttachedObjectsCount(playerid)) {
        SendClientMessage(playerid, COLOR_YELLOW, "* Sorry, you don't have any attached object!");
        GameTextForPlayer(playerid, "~r~~h~You have no attached object!", 5000, 3);
        return 1;
    }
    else AOE_ShowPlayerDialog(playerid, 12, AOED_REMOVEALL, "Remove All Attached Object(s)", "Yes", "Cancel");
    return 1;
}
Reply


Messages In This Thread
ZCMD in dialog click able command. - by Scrillex - 22.03.2013, 17:42
Re: ZCMD in dialog click able command. - by InfiniTy. - 22.03.2013, 17:48
Re: ZCMD in dialog click able command. - by Scrillex - 22.03.2013, 17:53
Re: ZCMD in dialog click able command. - by InfiniTy. - 22.03.2013, 18:03
Re: ZCMD in dialog click able command. - by Scrillex - 22.03.2013, 18:13
Re: ZCMD in dialog click able command. - by InfiniTy. - 22.03.2013, 18:39
Re: ZCMD in dialog click able command. - by Scrillex - 22.03.2013, 18:42
Re: ZCMD in dialog click able command. - by InfiniTy. - 22.03.2013, 18:43
Re: ZCMD in dialog click able command. - by Scrillex - 22.03.2013, 18:44

Forum Jump:


Users browsing this thread: 2 Guest(s)