15.09.2018, 18:59
ERROR
CODE
IMAGE:
https://imgur.com/a/zlq8DNB
Код:
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.
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"); }