08.01.2016, 12:31
you can't do it like this
this is the proper use
the whole thing:
Код:
!PlayerInfo[playerid][pMember] == 10
Код:
PlayerInfo[playerid][pMember] != 10
Код:
CMD:das(playerid, params[]) { if(!IsPlayerInAnyVehicle(playerid) && PlayerInfo[playerid][pMember] != 10 && PlayerInfo[playerid][pLeader] != 10 && PlayerInfo[playerid][pJob] != 17 && PlayerInfo[playerid][pJob2] != 17 && PlayerInfo[playerid][pTaxiLicense] != 1) { SendClientMessage(playerid, -1, "You must be in any vehicle to use this command.");//1 return 1; } ...Other codes. return 1; }