[HELP] bussines in stats
#1

Hello I have two types bussines on my gamemode and know I try put in player stats if player have one of two bussines then on stats he get like Bussines: Yes if he own a bussines and No if he don't own bussines and my problem there is I buy one type of bussines and in stats it says yes which is fine and when I sell it it says No also fine but wwhen I buy another bussines type and I get in stats No but it should be Yes if you know what I mean? Thanks and I hope so that you will understand what I mean.

This is the code

pawn Код:
if(PlayerInfo[playerid][FBussines] == -1) bussinestext = "No";
                else if(PlayerInfo[playerid][FBussines] != -1) bussinestext = "Yes";
                else if(PlayerInfo[playerid][SBussines] == -1) bussinestext = "No";
                else if(PlayerInfo[playerid][SBussines] != -1) bussinestext = "Yes";
Reply


Messages In This Thread
[HELP] bussines in stats - by Luca12 - 08.09.2014, 17:26
Re: [HELP] bussines in stats - by Ghazal - 08.09.2014, 19:18
Re: [HELP] bussines in stats - by Luca12 - 08.09.2014, 20:32
Re: [HELP] bussines in stats - by Eth - 08.09.2014, 20:38
Re: [HELP] bussines in stats - by Luca12 - 09.09.2014, 07:26
Re: [HELP] bussines in stats - by Lordzy - 09.09.2014, 08:38
Re: [HELP] bussines in stats - by Luca12 - 09.09.2014, 09:07

Forum Jump:


Users browsing this thread: 3 Guest(s)