[Ajuda] Remover Vip do Player
#2

Nгo entendi o uso do loop e.e

pawn Code:
CMD:removervip(playerid,params[])
{
    if(PlayerInfo[playerid][Admin] < 5) return SendClientMessage(playerid,COR_VERMELHO,"[ERRO]: Vocк nгo й administrador");
    if(isnull(params)) return SendClientMessage(playerid,Cinza,"[FAIL]: /removervip [nome]");
    format(string,sizeof(string),Acc_Local, params);
    if(!DOF2_FileExists(string)) return SendClientMessage(playerid,Cinza,"[ERRO]: Conta inexistente");
    DOF2_SetInt(string,"vip",0);
    DOF2_SaveFile();
    SendClientMessage(playerid,VerdeClaro,"[INFO]: Vip removido com sucesso ");
    return 1;
}
Reply


Messages In This Thread
Remover Vip do Player - by darkxdll - 18.08.2013, 15:19
Re: Remover Vip do Player - by humildadeforever - 18.08.2013, 15:36
Re: Remover Vip do Player - by PT - 18.08.2013, 16:00
Re: Remover Vip do Player - by darkxdll - 18.08.2013, 22:26

Forum Jump:


Users browsing this thread: 1 Guest(s)