error :V
#1

ERROR

Код:
G:\Pawno\filterscripts\clan.pwn(2203) : error 004: function "SetDialogPreviewRotation" is not implemented
G:\Pawno\filterscripts\clan.pwn(2224) : error 004: function "SetDialogPreviewRotation" is not implemented
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2016, ITB CompuPhase


2 Errors.
CODE

IMAGE:
https://imgur.com/a/zlq8DNB

Код:
CMD:cbuyskin(playerid) {
	if (playerClanID[playerid] == -1)
	    return SendClientMessage(playerid, COLOR_TOMATO, "Error: You are not in any clan, therefore can't use this command.");

	if (playerClanRank[playerid] < CLAN_RANK_LEADER) // leader or owner only use this command
	    return SendClientMessage(playerid, COLOR_TOMATO, "Error: You should be clan leader/owner to use this command.");

	const MAX_SKINS = 312;
    static string[MAX_SKINS * 32];

    if (string[0] == EOS) {
        for (new i = 0; i < MAX_SKINS; i++) {
            format(string, sizeof(string), "%s%i\tID: %i~n~~r~~h~~h~Price: $%s\n", string, i, i, FormatNumber(15000000));
        }
    }

	for (new i = 0; i < sizeof(CLAN_WEAPONS); i++) {
		SetDialogPreviewRotation(playerid, i, 0.0, 0.0, 0.0, 1.0);
	}

	return Dialog_Show(playerid, clan_skins, DIALOG_STYLE_PREVIEW_MODEL, "Select clan skin", string, "Select", "Close");
}

CMD:cbuyweapon(playerid) {
	if (playerClanID[playerid] == -1)
	    return SendClientMessage(playerid, COLOR_TOMATO, "Error: You are not in any clan, therefore can't use this command.");

	if (playerClanRank[playerid] < CLAN_RANK_LEADER) // leader or owner only use this command
	    return SendClientMessage(playerid, COLOR_TOMATO, "Error: You should be clan leader/owner to use this command.");

    static string[sizeof(CLAN_WEAPONS) * 64];
    if (string[0] == EOS) {
        for (new i = 0; i < sizeof(CLAN_WEAPONS); i++) {
       		format(string, sizeof string, "%s%i\t%s~n~~r~~h~~h~Price: $%s\n", string, CLAN_WEAPONS[i][CLAN_WEAPON_MODEL], CLAN_WEAPONS[i][CLAN_WEAPON_NAME], FormatNumber(CLAN_WEAPONS[i][CLAN_WEAPON_COST]));
       	}
    }

	for (new i = 0; i < sizeof(CLAN_WEAPONS); i++) {
		SetDialogPreviewRotation(playerid, i, 0.0, 0.0, -50.0, 1.5);
	}

	return Dialog_Show(playerid, clan_weapons, DIALOG_STYLE_PREVIEW_MODEL, "Select weapon for clan vault", string, "Select", "Close");
}
Reply


Messages In This Thread
error :V - by ZigGamerx - 15.09.2018, 18:59
Re: error :V - by DeMoo - 15.09.2018, 19:10
Re: error :V - by Burridge - 15.09.2018, 19:13
Re: error :V - by Dayrion - 15.09.2018, 20:10
Re: error :V - by Kasichok - 15.09.2018, 20:14
Re: error :V - by ZigGamerx - 16.09.2018, 10:39
Re: error :V - by Dayrion - 16.09.2018, 10:56
Re: error :V - by Burridge - 16.09.2018, 10:58
Re: error :V - by SaMuRy - 16.09.2018, 11:21
Re: error :V - by NoorMustafa123 - 16.09.2018, 18:14

Forum Jump:


Users browsing this thread: 2 Guest(s)