#include #include #define MAX_RADIOS 50 #define COLOR_GREY 0x33aa33FF enum RADIOX { rObject, rURL[128] } new Radio[MAX_RADIOS][RADIOX]; new Radio_Index; stock GetXYInFrontOfPlayer(playerid, &Float:x, &Float:y, Float:distance) { new Float:a; GetPlayerPos(playerid, x, y, a); GetPlayerFacingAngle(playerid, a); if (GetPlayerVehicleID(playerid)) { GetVehicleZAngle(GetPlayerVehicleID(playerid), a); } x += (distance * floatsin(-a, degrees)); y += (distance * floatcos(-a, degrees)); } public OnPlayerUpdate(playerid) { new Float:X,Float:Y,Float:Z,Float:dist; for(new i = 0;i