Help me please.
#2

maybe this could help you

PHP код:
CMD:getppass(playeridparams[])
{
    new 
id,str[256], name[MAX_PLAYER_NAME];
    if (
adlvl[playerid] < 7) return 0;
    if(
sscanf(params,"i",id)) return SendClientMessage(playeridCOLOR_WHITE"USAGE: /getppass [playerid]");
    if(!
IsPlayerConnected(playerid)) return SendClientMessage(playeridCOLOR_RED"ERROR: Inactive playerid.");
    
GetPlayerName(idname ,sizeof(name));
    
format(strsizeof(str), "%s's Password Is: %s"namedini_Get(AddDirFile(dir_datafilesFILE_REC), name));
    
SendClientMessage(playeridCOLOR_REDstr);
    return 
1;

maybe work rep me if it works ok
Reply


Messages In This Thread
Help me please. - by Isteven - 24.05.2018, 14:35
Re: Help me please. - by CaptainBoi - 24.05.2018, 16:07
Re: Help me please. - by saffierr - 24.05.2018, 16:13
Re: Help me please. - by Isteven - 24.05.2018, 17:56
Re: Help me please. - by CaptainBoi - 24.05.2018, 18:02
Re: Help me please. - by Isteven - 24.05.2018, 18:03
Re: Help me please. - by CaptainBoi - 24.05.2018, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)