Posts: 160
Threads: 33
Joined: Nov 2012
Reputation:
0
Hello guys.
Anyone know how to set a number like 3 houses per players ?
Because actually in the script I use, players can have an unlimited number of properties, but only 3 locations.
Tell me what you need to help me and i'll post it.
Thank you !
Posts: 351
Threads: 22
Joined: Oct 2012
Reputation:
0
Use A Variable... Like PInfo[playerid][Houses] == 1 if he has one house then ++ if he bought a new house
and then onthe dialog / command use if PInfo[playerid][Houses] == MAX_HOUSES_CAN_BE_OWNED then he will get a message that .. you cannot get more houses and the operations of buying will break
Posts: 160
Threads: 33
Joined: Nov 2012
Reputation:
0
Thank you for helping. Thing is I'm a newbie here.
Can you check your PM's please ?
Posts: 160
Threads: 33
Joined: Nov 2012
Reputation:
0
Update : I'm using MySQL, still looking for help.
Posts: 759
Threads: 80
Joined: Oct 2012
Reputation:
0
u still need a saving variable mysql is used to load and save not to do the scripting also you will need to create a table with mysql