Ban System
#8

pawn Code:
enum p_Info
{
    Banned
};

new SInfo[MAX_PLAYERS][p_Info];

forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
    INI_Int("Banned",SInfo[playerid][Banned]);
    return 1;
}
this should do it.

why do you have to make another enum for this if you already have one? just put the "Banned" on the existing enum and all should be fine.
Reply


Messages In This Thread
Ban System - by JXZ - 03.06.2020, 16:50
Re: Ban System - by makemoneynotfriends - 03.06.2020, 16:53
Re: Ban System - by JXZ - 03.06.2020, 16:57
Re: Ban System - by makemoneynotfriends - 03.06.2020, 16:58
Re: Ban System - by JXZ - 03.06.2020, 17:00
Re: Ban System - by Shadow0707 - 03.06.2020, 17:53
Re: Ban System - by JXZ - 03.06.2020, 17:57
Re: Ban System - by Shadow0707 - 03.06.2020, 18:01
Re: Ban System - by JXZ - 03.06.2020, 18:08
Re: Ban System - by Shadow0707 - 03.06.2020, 18:13

Forum Jump:


Users browsing this thread: 1 Guest(s)