Help me
#3

Quote:
Originally Posted by Sreyas
Посмотреть сообщение
Код:
if(GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 18 || GetPlayerWeapon(playerid) == 35 || GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 || GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 42) && PlayerInfo[playerid][pAdminlevel] < 1)
remove red highlighted bracket
I dont that's what he want, he want to check if player have one of the choosen weapons and not admin, as the admins can giveweapon without cheat, if yes here is the code

PHP код:
if((GetPlayerWeapon(playerid) == 16 || GetPlayerWeapon(playerid) == 17 || GetPlayerWeapon(playerid) == 18 || GetPlayerWeapon(playerid) == 35 || GetPlayerWeapon(playerid) == 36 || GetPlayerWeapon(playerid) == 37 || GetPlayerWeapon(playerid) == 38 || GetPlayerWeapon(playerid) == 39 || GetPlayerWeapon(playerid) == 40 || GetPlayerWeapon(playerid) == 42) && pAdmin[playerid] < 1
Reply


Messages In This Thread
Help me - by CrazyPerry - 06.08.2016, 06:35
Re: Help me - by SyS - 06.08.2016, 06:39
Re: Help me - by Shinja - 06.08.2016, 11:47
Re: Help me - by GhostHacker - 06.08.2016, 12:13
Re: Help me - by Shinja - 06.08.2016, 12:15
Re: Help me - by GhostHacker - 06.08.2016, 12:16
Re: Help me - by Logic_ - 06.08.2016, 12:20
Re: Help me - by GhostHacker - 06.08.2016, 12:22
Re: Help me - by SyS - 06.08.2016, 12:29
Re: Help me - by Shinja - 06.08.2016, 12:29

Forum Jump:


Users browsing this thread: 2 Guest(s)