[SOLVED][Advanced]Help with changing variables in ALL offline user accounts :S
#4

hmmm, i am currently stuck with:
pawn Код:
stock aresetallcar()
{
    new buf[64], i;
    i = 0;
    while(ffind("ladmin/users/*.sav", buf, sizeof(buf), i))
    {
        dUserSetINT(buf).("vowner", 0);
        dUserSetINT(buf).("vowned", 0);
    }
    for(new p = 0; p < MAX_PLAYERS; p++){
      if(IsPlayerConnected(p) == 1) {
            PlayerInfo[p][vowner] = 0;
            PlayerInfo[p][vowned] = 0;
        }
    }
    for(new v = 0; v < MAX_VEHICLES; v++){
        DestroyVehicle(v);
    }
}
And it still fails to change the variables from the user files in the folder :S
please someone help me out :S

BTW i have got the latest version of YSF :S
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)