Arrest Point
#1

Hello,

I wanna ask how to create arrest points.
My current scripts
Код:
CMD:arrestpoint(playerid, params[])
{
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
   	if(PlayerInfo[playerid][pAdmin] < 6) return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
   	if(!aDuty[playerid]) return SendClientMessage(playerid, COLOR_GREY, "You are not on Admin Duty.");
	GetPlayerPos(playerid, ap[0], ap[1], ap[2]);
	DestroyDynamic3DTextLabel(apt);
	DestroyPickup(apt2);
	apt = CreateDynamic3DTextLabel("Arrest Point\n{FFFF00}/arrest to arrest a suspect", COLOR_RED, ap[0], ap[1], ap[2], 12);
	apt2 = CreatePickup(1314, 1, ap[0], ap[1], ap[2]);
	SendClientMessage(playerid, COLOR_WHITE, " You have changed the NYPD's arrest point.");
	return 1;
}
It can only create one arrest point.
Can someone help me?
Reply


Messages In This Thread
Arrest Point - by Latisha - 13.05.2013, 11:45
Re: Arrest Point - by Latisha - 13.05.2013, 12:39
Re: Arrest Point - by MP2 - 13.05.2013, 12:46
Re: Arrest Point - by Calabresi - 13.05.2013, 12:49
Re: Arrest Point - by Latisha - 13.05.2013, 12:50
Re: Arrest Point - by Calabresi - 13.05.2013, 13:00
Re: Arrest Point - by Latisha - 13.05.2013, 13:08
Re: Arrest Point - by Calabresi - 13.05.2013, 13:10
Re: Arrest Point - by Latisha - 13.05.2013, 13:15
Re: Arrest Point - by Calabresi - 13.05.2013, 13:18

Forum Jump:


Users browsing this thread: 2 Guest(s)