help script
#7

Why is it checking if they are leader, and then if they are rank 3 alone? Some scripts for factions only test if they are leader so their 'rank' won't matter too much and that could be causing issues especially if with my code further down, the shoptech works, but the faction lineup doesn't. Check the rank of the leader if they can't get this going.

Shoptech should probably be separate as that's more an admin role...

Код:
if((PlayerInfo[playerid][pLeader] == 1 && PlayerInfo[playerid][pRank] >= 3) || PlayerInfo[playerid][pShopTech] >= 0)
This will check if they (are a Leader, and have rank greater than 3), OR if they are a shoptech.


If the code is giving you errors, then post the errors... If it's not doing what it's supposed to then say what it should be doing, and what it's actually doing so people aren't sitting here guessing.
Reply


Messages In This Thread
help script - by BanhVo - 17.01.2018, 14:56
Re: help script - by Micko123 - 17.01.2018, 15:07
Re: help script - by Gguiz - 17.01.2018, 15:33
Re: help script - by BanhVo - 17.01.2018, 15:41
Re: help script - by jasperschellekens - 17.01.2018, 16:28
Re: help script - by BanhVo - 18.01.2018, 04:24
Re: help script - by Sew_Sumi - 18.01.2018, 05:09
Re: help script - by BanhVo - 18.01.2018, 05:46
Re: help script - by Sew_Sumi - 18.01.2018, 06:38
Re: help script - by BanhVo - 18.01.2018, 06:43

Forum Jump:


Users browsing this thread: 1 Guest(s)