13.05.2013, 11:45
Hello,
I wanna ask how to create arrest points.
My current scripts
It can only create one arrest point.
Can someone help me?
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;
}
Can someone help me?


