compiled not
#7

Help me to tee it up again.


9894-9906

Code:
{
	new string[128], Float:Pos[4];
	if(!IsPlayerLoggedIn(playerid) || PlayerInfo[playerid][pAsshole] == 1) return SendClientMessage(playerid, COLOR_GREY, "You are not allowed to use command.");
   	if(!IsACop(playerid) && !IsADOC(playerid) && !IsASAAF(playerid) && !IsFBI(playerid) && !IsSASD(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You are not an LSPD Oficer/FBI Agent.");
   	if(!PlayerInfo[playerid][pFacDuty]) return SendClientMessage(playerid, COLOR_GREY, "You are not on duty.");
	if(PlayerInfo[playerid][pFacRank] < 4) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command. (Rank 4+)");
	GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
    GetPlayerFacingAngle(playerid,Pos[3]);
 	CreateStrip(Pos[0], Pos[1], Pos[2],Pos[3]);
 	format(string, sizeof(string), "LSPD: %s has created a spike strip.", RPN(playerid));
 	SendCopMessage(COLOR_BLUE, string);
	return 1;
}
Reply


Messages In This Thread
compiled not - by Shinobu - 21.05.2014, 10:29
Re: compiled not - by Copfan5 - 21.05.2014, 10:31
Re: compiled not - by Shinobu - 21.05.2014, 10:34
Re: compiled not - by Faisal_khan - 21.05.2014, 10:45
Re: compiled not - by Shinobu - 21.05.2014, 10:51
Re: compiled not - by Faisal_khan - 21.05.2014, 10:53
Re: compiled not - by Shinobu - 21.05.2014, 11:05
Re: compiled not - by Faisal_khan - 21.05.2014, 11:07
Re: compiled not - by Konstantinos - 21.05.2014, 11:09
Re: compiled not - by Shinobu - 21.05.2014, 11:14

Forum Jump:


Users browsing this thread: 1 Guest(s)