Mein Fraktionsenum:
Code
enum FraktionsEnum{
f_name[128],
Float:f_x,
Float:f_y,
Float:f_z,
Float:f_r,
f_inter,
f_world,
f_color
}
Mein Stats Command:
Code
ocmd:stats(playerid, params[])
{
new string[128];
format(string,sizeof(string),"ID: %i\nName: %s\nLevel: %i\nBargeld: %i$\nBeruf:[PLATZHALTER]\nFraktion: %s",playerid, PlayerInfo[playerid][pName], PlayerInfo[playerid][pLevel], PlayerInfo[playerid][pMoney],fInfo[playerid][f_name]);
ShowPlayerDialog(playerid, 3, DIALOG_STYLE_MSGBOX, "Statistiken",string, "Bestätigen", "");
return 1;
}