Help dialog
#1

Someone pass me to dialog please?

PHP код:
if (strcmp(cmd"/rg"true) == 0)
    {
        if(
IsPlayerConnected(playerid))
        {
            if (
gPlayerLogged[playerid] != 0)
            {
                
ShowStats(playerid,playerid);
                
GetPlayerName(playeridsendernamesizeof(sendername));
                
format(stringsizeof(string), "* %s Abre a Carteira e confere sua Identidade(RG)."sendername);
                
ProxDetector(30.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
            }
            else
            {
                
SendClientMessage(playeridCOLOR_GRAD1"   Vocк nгo esta logado !");
            }
        }
        return 
1;
    } 
Reply
#2

try using

Код:
ShowPlayerDialog
Reply
#3

ShowStats(playerid,playerid);
Are u sure you should put "playerid" twice?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)