new edt = Editing[playerid];
new rankedt = RankEditing[playerid];
if(!strlen(inputtext))
return ShowPlayerDialog(playerid, DIALOG_F_EDITNAME,DIALOG_STYLE_INPUT,"{00c982}FACTION EDIT","{b7ba00}New rank name {ff0000}{You need to actually fill it out!):","Set","Cancel");
format(FactionRank[edt][rankedt], sizeof(FactionRank[edt][rankedt]),"%s",inputtext);
rp.pwn(1993) : error 001: expected token: "]", but found "-identifier-"
rp.pwn(1993) : warning 215: expression has no effect
rp.pwn(1993) : error 001: expected token: ";", but found "]"
rp.pwn(1993) : error 029: invalid expression, assumed zero
rp.pwn(1993) : fatal error 107: too many error messages on one line
case DIALOG_F_P_RANK:
{
if(response)
{
new edt = Editing[playerid];
new rankedt = RankEditing[playerid];
if(!strlen(inputtext))
return ShowPlayerDialog(playerid, DIALOG_F_EDITNAME,DIALOG_STYLE_INPUT,"{00c982}FACTION EDIT","{b7ba00}New rank name {ff0000}{You need to actually fill it out!):","Set","Cancel");
format(FactionRank[edt][rankedt], sizeof(FactionRank[edt][rankedt]),"%s",inputtext);
SaveFaction(Editing[playerid]);
}
else
ShowPlayerDialog(playerid, DIALOG_F_EDIT, DIALOG_STYLE_LIST, "{00c982}FACTION EDIT", "Faction name\nFaction Type\nFaction default skin\nFaction ranks\nFaction leader rank\nFaction duty position", "Continue", "Cancel");
}
sizeof(FactionRank[edt][rankedt])
pawn Код:
|