13.07.2016, 21:02
Yes. For example
PHP код:
CMD:giveweap(playerid, params[])
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
foreach (new i:Player)
{
if (IsPlayerInRangeOfPoint(i, 50.0, x, y, z))
{
GivePlayerWeapon(i, WEAPON_MOLTOV, 9);
}
}
}