{ new Weapon = GetPlayerWeapon(playerid); new Ammo = GetPlayerAmmo(playerid); GivePlayerWeapon(playerb, Weapon, Ammo); RemovePlayerWeapon(playerid, Weapon); format(string, sizeof(string), "* %s hands their weapon to %s.", RPN(playerid), RPN(playerb)); SendNearbyMessage(playerid, 15, string, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE, COLOR_PURPLE); format(string, sizeof(string), " You have given %s your weapon.", RPN(playerb)); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " You have received a weapon from.", RPN(playerid)); SendClientMessage(playerb, COLOR_LIGHTBLUE, string); }
{ if(ServerRadio == false) { SendClientMessage(playerid, COLOR_CYAN, "UG:RP Radio has been disabled by management"); return 1; } PlayAudioStreamForPlayer(playerid, "http://66.172.10.71:8000/"); GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ UG:RP Live Radio Activated! ~<~",5000,3); return 1; }
} public OnPlayerEditDynamicObject(playerid, objectid, response, Float, Float:y, Float:z, Float:rx, Float:ry, Float:rz) { |