07.01.2015, 22:19
Use this and tell me if it works.
pawn Код:
CMD:locker(playerid, params[])
{
new string[256];
if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
if(IsACop(playerid))
{
if(IsPlayerInRangeOfPoint(playerid, 3,256.2174,77.3295,1004.0344))
{
if(CopFix[playerid] == 0)
{
SSSShowDialog(playerid, 5);
}
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You aren't near your locker.");
}
return 1;
}

