[Ajuda] Times
#3

PHP код:
CMD:criartime(playerid,params[])
{
    
format(pArquivo,sizeof(pArquivo),CAMINHO_CONTAS,pNome(playerid));
    if(
PlayerInfo[playerid][pLider] == true) return SendClientMessage(playerid,-1,"Vocк jб й lider de um time.");
    new 
NomeTime[40],esc[40];
    if(
sscanf(params,"s",esc)) return SendClientMessage(playerid,-1,"Servidor: use /criartime [nome]");
    
format(NomeTime,sizeof(NomeTime),CAMINHO_TIMES,esc);
    new 
time GetPlayerTeam(playerid);
    
DOF2_CreateFile(esc);
    
DOF2_SetInt(esc,"Cofre",TimeInfo[time][tDinheiro]); //239
    
DOF2_SetInt(esc,"Nivel",TimeInfo[time][tNivel]); //240
    
DOF2_SaveFile();
    return 
1;

Reply


Messages In This Thread
Times - by Paramount. - 26.04.2014, 04:39
Re: Times - by Dark.Angel - 26.04.2014, 07:25
Re: Times - by Fel486 - 26.04.2014, 13:10
Re: Times - by Paramount. - 26.04.2014, 13:10
Re: Times - by GWMPT - 26.04.2014, 14:03
Re: Times - by Fel486 - 26.04.2014, 14:10
Re: Times - by GWMPT - 26.04.2014, 14:29
Re: Times - by Fel486 - 26.04.2014, 14:44
Re: Times - by GWMPT - 26.04.2014, 14:48

Forum Jump:


Users browsing this thread: 1 Guest(s)