MYSQL Getting and inserting
#7

OH! **** I'm tired, i confused the pLevel with pVip, il test again.

EDIT:

Okay i just tried with that line fixed and with
pawn Code:
//------------------------------------------
CMD:vtest(playerid, params[])
{
    if(PVar[playerid][pVip] == 1)
    {
        SendClientMessage(playerid, orange, "You are vip level 1");
    }
    else return SendClientMessage(playerid, orange, "You are not an VIP");
    return 1;
}
So here's the thing, it works while im ingame, but if i /q and re-login it dosen't anymore, so it dosen't save it ?
Reply


Messages In This Thread
MYSQL Getting and inserting - by AlExAlExAlEx - 20.02.2011, 15:14
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 19:06
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 19:11
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 19:20
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 20:21
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 20:34
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 20:41
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 20:57
Re: MYSQL Getting and inserting - by AlExAlExAlEx - 21.02.2011, 20:59
Re: MYSQL Getting and inserting - by JaTochNietDan - 21.02.2011, 21:01

Forum Jump:


Users browsing this thread: 5 Guest(s)