Posts: 156
Threads: 12
Joined: Jan 2016
Quote:
Originally Posted by Shinja
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)
|
please stop helping you are just posting something you dont know....
both of them are same.