Quote:
Originally Posted by CaptainBoi
maybe this could help you
PHP код:
CMD:getppass(playerid, params[])
{
new id,str[256], name[MAX_PLAYER_NAME];
if (adlvl[playerid] < 7) return 0;
if(sscanf(params,"i",id)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /getppass [playerid]");
if(!IsPlayerConnected(playerid)) return SendClientMessage(playerid, COLOR_RED, "ERROR: Inactive playerid.");
GetPlayerName(id, name ,sizeof(name));
format(str, sizeof(str), "%s's Password Is: %s", name, dini_Get(AddDirFile(dir_datafiles, FILE_REC), name));
SendClientMessage(playerid, COLOR_RED, str);
return 1;
}
maybe work rep me if it works ok
|
Bro i got a bug
[IMG]file:///C:/Users/Umer/Downloads/sa-mp-056.webp[/IMG]