enum pInfo
{
pPunkte,
pRest,
pKey[128],
pLevel,
pAdmin,
pSupporter,
pDonateRank,
gPupgrade,
pConnectTime,
pReg,
pSex,
pLand,
pAge,
pOrigin,
pCK,
pMuted,
pExp,
pCash,
pAccount,
pPlayerKreditDauer,
pPlayerKredit,
pCrimes,
pKills,
pDeaths,
pArrested,
pWantedDeaths,
pPhoneBook,
pLottoNr,
pFishes,
pBiggestFish,
pJob,
pHarz,
pPayCheck,
pHeadValue,
pJailed,
pRobTime,
pJailTime,
pDuty,
pGangJailed,
pwJailed,
pMauled,
pMats,
pDrugs,
pLeader,
pMember,
pFMember,
pRank,
pChar,
pContractTime,
pDetSkill,
pSexSkill,
pBoxSkill,
pLawSkill,
pMechSkill,
pJackSkill,
pCarSkill,
pNewsSkill,
pDrugsSkill,
pCookSkill,
pFishSkill,
Float:pHealth,
Float:pSHealth,
pInt,
pLocal,
pTeam,
pModel,
pPnumber,
pPhousekey,
pPbiskey,
Float:pPos_x,
Float:pPos_y,
Float:pPos_z,
pCarLic,
pNewLic,
pFlyLic,
pBoatLic,
pFishLic,
pGunLic, //Definition des Scheines zb die Aufgabe später
pLKWLic,
pRollerLic,
pMotoLic,
pZig,
pSchaufel,
pKekse,
pZigSucht,
pGun1,
pGun2,
pGun3,
pGun4,
pAmmo1,
pAmmo2,
pAmmo3,
pAmmo4,
pCarTime,
pMulltime,
pArbeittime,
pJobstart,
pBusTime,
pPayDay,
pPayDayHad,
pCDPlayer,
pWins,
pLoses,
pAlcoholPerk,
pDrugPerk,
pMiserPerk,
pPainPerk,
pTraderPerk,
pTut,
pWarns,
pAdjustable,
pFuel,
pMarried,
pMarriedTo[128],
pInvWeapon,
pInvAmmo,
pInvWeapon2,
pInvAmmo2,
pInvDrugs,
pInvMats,
pFlugTime,
pRoadblock,
pPlayMinutes,
pGesamtMinutes,
pMinutesSinceLogin,
pMinutesSinceAn,
pSFPASS,
pLVPASS,
pSPECIAL,
pLUFTWAFFE,
pHandyGeld,
pHandyVer,
pUhrID,
pHandyID,
pOwnPerso,
pOwnAntrag,
pPersoStop,
pGehalt,
pFrakSperre,
pBoxMats,
pBankPin,
pBan,
pBankPinCode,
pJobgeld,
pHatJob,
pBoxDrugs,
pSASpawn,
pOamtSpawn,
pMedicSpawn,
pFeuerSpawn,
pFBISpawn,
pFahrer,
pCNNSpawn,
Text:LetterboxTop,Text:LetterboxBottom2, Text:LetterboxBottom,
pTot,
pFarmTime,
pGDeaths,
pGKills,
pMeldung,
};
dcmd_unban(playerid,params[])
{
if(PlayerInfo[playerid][pAdmin] >= 1)return SendClientMessage(playerid,COLOR_RED,"Du bist kein Admin!");
new name[MAX_PLAYER_NAME];
new grund[64];
new string15[128];
if(sscanf(params,"ss",name,grund)) return SendClientMessage(playerid,COLOR_WHITE,"Benutzung: /unban [Name][Grund]");
new string[128];
if(PlayerInfo[name][pBan] == 1)
{
format(string15,sizeof(string15),"/Accounts/%s.ini",name);
(!dini_Exists(string15))return SendClientMessage(playerid,COLOR_WHITE,"Dieser Spieler existiert nicht!");
//format(string,sizeof(string),"[Unban]: %s hat den Spieler %s entsperrt. Grund: %s",PlayerName(playerid),name,grund);
//PlayerInfo[playerid][pBan] = 0;
//SendAdminMessage(string);
}
else
{
SendClientMessage(playerid,COLOR_RED,"Der Spieler ist nicht gebannt!");
}
return 1;
}