Hello I know for some people it's easy.. For me it's hard to figure out how to save Groups correctly(y groups)
#1

So basacly I cant figure out .. How to save y_groups always I hitted my head against brick wall..


So basacly what I need is to load multiple ini files from Groups folder..

And how I can set that invited player names are in current group with all settings?

Or easier is make like same as User saving system?
So I have all the things but I cant get it how to get them loaded..

I just want to simply set
Код:
pInfo[playerid][Group] = 1;
and set it as bloodz. But I cant figure out how to do it..
If I'm using this https://sampforum.blast.hk/showthread.php?tid=390214 tutorial then I every time hit in one place..
pawn Код:
if(fexist(UserPath(playerid))) //error in this line which is making it in multiple errors with string and name
{

stock UserPath(playerid) //This is the reason why it gives me multiple errors...
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),Path,playername);
    return string;
}
So basicly this is my gang list.. I just want them to read if Leader = 1 then script knows it's Bloodz.
pawn Код:
new
    Group:Bloodz,
    Group:Crips,
    Group:Vagos,
    Group:Varios,
    Group:Rifa,
    Group:IMafia,
    Group:CMafia,
    Group:RMafia,
    Group:DaNBoys,
    Group:Bikers,
    Group:Drifters,
    Group:StreetRacers,
    Group:Police,
    Group:Army,
    Group:FBI,
    Group:Medics,
    Group:Cadets,
    Group:Truckers,
    Group:Mehanics,
    Group:Piza,
    Group:Trash,
    Group:GunDealers,
    Group:DrugMakers,
    Group:DrugDealers,
    Group:Lawyer,
    Group:Judge,
    Group:Witnesses,
    Group:Accused,
    Group:Jury,
    Group:Civilian
;
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)