18.01.2018, 05:09
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...
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.
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)
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.