Little help!
#1

Hello everybody.Today I want to present my server on SAMP forum but still have some bugs which is little complicated to me.I don`t see any problem there.Maybe you will see mistake.I made today new job delivering ammo to old ammofactory but when I deliver it it`s says I don`t own Drug house not factory (drug house is different zone)...So here is the code:

pawn Код:
if(GangZones[4][OwnerTeam] != GetPlayerTeam(playerid)) return SendClientMessage(playerid,0xFFFFFFF,""embed_red"[Drug - House] "embed_white"Comps in drug house are not filled becouse you don`t own drug house.Own it and then comps will be filled!");
            {
                if(RandomJobCP[0][JobID])
                {
                    DrugStats += 20;
                    format(slova,sizeof(slova),"[Drug - House] "embed_white"Amount of comps in drug house is %d !",DrugStats);
                    SendClientMessage(playerid,0xFFD900FF,slova);
                }
            }
            if(GangZones[9][OwnerTeam] != GetPlayerTeam(playerid)) return SendClientMessage(playerid,0xFFFFFFF,""embed_red"[Ammunation - Factory] "embed_white"Comps in old ammunation factory are not filled becouse you don`t own ammunation factory.Own it and then comps will be filled!");
            {
                if(RandomJobCP[1][JobID])
                {
                    WeaponStats += 20;
                    format(slova,sizeof(slova),"[Ammunation - Factory] "embed_white"Amount of comps in ammunation factory is %d !",DrugStats);
                    SendClientMessage(playerid,0xFFD900FF,slova);
                }
            }
Please help me fast.
Reply


Messages In This Thread
Little help! - by Sanady - 20.10.2013, 09:16
Re: Little help! - by Patrick - 20.10.2013, 09:21
Re: Little help! - by Sanady - 20.10.2013, 09:47
Re: Little help! - by Patrick - 20.10.2013, 09:53
Re: Little help! - by Sanady - 20.10.2013, 10:25

Forum Jump:


Users browsing this thread: 1 Guest(s)