05.10.2011, 10:28
pawn Код:
CMD:adv(playerid, params[])
{
if(!strlen(params[0])) return SendClientMessage(playerid, -1, "Use /adv [message");
if(IsPlayerInRangeOfPoint(playerid, RANGE, posX, posY, posZ))
{
SendClientMessageToAll(-1, params[0]);
GivePlayerMoney(playerid, -70);
return 1;
}
else return SendClientMessage(playerid, -1, "You arent in the spot to use this command!");
}