PDA

View Full Version : Whats exactly wrong here? +REP


HK
04/12/2013, 05:16 PM
Hello guys, i'm having an issue on this house key right here.

I'm using MySQL btw.

When i'm buying an house IG, i've all permissions as I've scripted, but once i'm relogging or even just restarting the server, its all fucking up, in my database its not -1 key, but 396 as I scripted:

if(PlayerInfo[playerid][pHouseKey] == -1) return HouseMSG(playerid, "You don't own a house.");

I don't see the issue? Can anyone here help me?

SKAzini
04/12/2013, 07:10 PM
Show MySQL saving/loading function

iBots
04/12/2013, 08:05 PM
probably this might be Saving and loading problem post the code of saving and loading