[Ajuda] Atualizar dialog
#10

Tenta ae..
PHP код:
stock DeletePlayerConce(playeridSlotID)
{
    new 
s[128];
    
PConce_ResetVars(playerid);
    
format(s128"Concessionaria/%s_CONC_%d.ini"PlayerName(playerid), SlotID);
    if (!
DOF2_FileExists(s)) return SendClientMessage(playerid, -1"Arquivo nгo existe.");
    switch (
DOF2_GetInt(s"vc_modelo"))
    {
        
//Preзos veнculos
    
}
    
SendClientMessage(playeridCOLOR_VERMELHOCLARO"•~~~~~~~~~~~~[ Veнculo concessionбria vendido ]~~~~~~~~~~~~•");
    
format(gStrsizeof(gStr), "[ > ] Veнculo %s vendido, valor recebido $%d."vNome[DOF2_GetInt(s"vc_modelo") - 400], (vPreco[playerid] * 70 100));
    
SendClientMessage(playeridCOLOR_BRANCOgStr);
    
sGivePlayerCash(playeridvPreco[playerid] * 70 100);
    
PlayerConceModelo[playerid][SlotID][ConceID] = -1;
    
PlayerConceConectado[playerid][SlotID][ConceID] = 1;
    
DOF2_RemoveFile(s);
    
format(gFilesizeof(gFile), "Contas/%s.ini"PlayerName(playerid));
    if (!
DOF2_FileExists(gFile)) return 1;
    
DOF2_SetInt(gFile"Veiculo_Conce"0);
    
pInfo[playerid][Veiculo_Conce] = 0;
    
DOF2_SaveFile();
    return 
1;

Reply


Messages In This Thread
Atualizar dialog - by Welconha - 08.07.2015, 21:13
Re: Atualizar dialog - by humildadeforever - 08.07.2015, 21:18
Re: Atualizar dialog - by Welconha - 08.07.2015, 21:32
Re: Atualizar dialog - by Welconha - 08.07.2015, 22:44
Re: Atualizar dialog - by humildadeforever - 08.07.2015, 22:46
Re: Atualizar dialog - by Welconha - 08.07.2015, 22:48
Re: Atualizar dialog - by humildadeforever - 08.07.2015, 22:51
Re: Atualizar dialog - by Welconha - 08.07.2015, 23:11
Re: Atualizar dialog - by humildadeforever - 08.07.2015, 23:28
Re: Atualizar dialog - by Pablo098 - 08.07.2015, 23:56

Forum Jump:


Users browsing this thread: 2 Guest(s)