CMD:rg(playerid)
{
new StringRG[500];
GetPlayerName(playerid, zNome, MAX_PLAYER_NAME);
format(StringRG, sizeof(StringRG), "{7FFFD4}RG de: {AFEEEE}%s\n",zNome);
format(StringRG, sizeof(StringRG), "{7FFFD4}Level: {AFEEEE}%d\n",Info[playerid][zLevel]);
format(StringRG, sizeof(StringRG), "{7FFFD4}Respeito: {AFEEEE}%d\n",Info[playerid][zRespeito]);
format(StringRG, sizeof(StringRG), "{7FFFD4}Level de Administrador: {AFEEEE}%d",Info[playerid][zAdmin]);
ShowPlayerDialog(playerid, DIALOG_RG, DIALOG_STYLE_MSGBOX, "Documentos", StringRG, "Fechar", "");
return 1;
}
format(StringRG, sizeof(StringRG), "{7FFFD4}RG de: {AFEEEE}%s\n",zNome); strcat(StringRG, "{7FFFD4}Level: {AFEEEE}%d\n",Info[playerid][zLevel]); strcat(StringRG, "{7FFFD4}Respeito: {AFEEEE}%d\n",Info[playerid][zRespeito]); strcat(StringRG, "{7FFFD4}Level de Administrador: {AFEEEE}%d",Info[playerid][zAdmin]);
Код:
format(StringRG, sizeof(StringRG), "{7FFFD4}RG de: {AFEEEE}%s\n",zNome); strcat(StringRG, "{7FFFD4}Level: {AFEEEE}%d\n",Info[playerid][zLevel]); strcat(StringRG, "{7FFFD4}Respeito: {AFEEEE}%d\n",Info[playerid][zRespeito]); strcat(StringRG, "{7FFFD4}Level de Administrador: {AFEEEE}%d",Info[playerid][zAdmin]); |
Claro, e desse jeito que vocк colocou, sу vai aparecer a primeira linha...
|
Код:
format(StringRG, sizeof(StringRG), "{7FFFD4}RG de: {AFEEEE}%s\n",zNome); strcat(StringRG, "{7FFFD4}Level: {AFEEEE}%d\n",Info[playerid][zLevel]); strcat(StringRG, "{7FFFD4}Respeito: {AFEEEE}%d\n",Info[playerid][zRespeito]); strcat(StringRG, "{7FFFD4}Level de Administrador: {AFEEEE}%d",Info[playerid][zAdmin]); |
CMD:rg(playerid)
{
new StringRG[500],DialogRG[500];
GetPlayerName(playerid, zNome, MAX_PLAYER_NAME);
format(StringRG, sizeof(StringRG), "{7FFFD4}RG de: {AFEEEE}%s\n",zNome);strcat(DialogRG,StringRG);
format(StringRG, sizeof(StringRG), "{7FFFD4}Level: {AFEEEE}%d\n",Info[playerid][zLevel]);strcat(DialogRG,StringRG);
format(StringRG, sizeof(StringRG), "{7FFFD4}Respeito: {AFEEEE}%d\n",Info[playerid][zRespeito]);strcat(DialogRG,StringRG);
format(StringRG, sizeof(StringRG), "{7FFFD4}Level de Administrador: {AFEEEE}%d",Info[playerid][zAdmin]);strcat(DialogRG,StringRG);
ShowPlayerDialog(playerid, DIALOG_RG, DIALOG_STYLE_MSGBOX, "Documentos", DialogRG, "Fechar", "");
return 1;
}
new StringRG[500];
format(StringRG, sizeof(StringRG), "{7FFFD4}RG de: {AFEEEE}%s\n","p");
format(StringRG, sizeof(StringRG), "%s{7FFFD4}Level: {AFEEEE}%d\n",StringRG,Info[playerid][zLevel]);
format(StringRG, sizeof(StringRG), "%s{7FFFD4}Respeito: {AFEEEE}%d\n",StringRG,Info[playerid][zRespeito]);
format(StringRG, sizeof(StringRG), "%s{7FFFD4}Level de Administrador: {AFEEEE}%d",StringRG,Info[playerid][zAdmin]);
Euri desse script ai kkk totalmente inutil
@topic Nгo seria pawn Код:
|