Need little assistance.
#4

Quote:
Originally Posted by Imperor
Посмотреть сообщение
Yea this worked also if want another faction too there then sud i use the same?
then do this.
NOTE : change isfact by ur faction thing
pawn Код:
new string[128];
    if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
    if(!IsACop(playerid) && !IsANG(playerid) && !IsFact(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't use this command unless you're a LEO!"); // Here i tried to add but didnt work
    //if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You can't use this command while being in a vehicle.");
Reply


Messages In This Thread
Need little assistance. - by Laure - 27.12.2012, 06:44
Re: Need little assistance. - by [HK]Ryder[AN] - 27.12.2012, 06:49
Re: Need little assistance. - by Laure - 27.12.2012, 06:56
Re: Need little assistance. - by [HK]Ryder[AN] - 27.12.2012, 06:58

Forum Jump:


Users browsing this thread: 1 Guest(s)