ADD_BLIP_FOR_RADIUS
Create a blip with a radius for the specified coordinates (it doesnt create the blip sprite, so you need to use AddBlipCoords) Example image: !example This is the server-side RPC native equivalent of the client native ADD_BLIP_FOR_RADIUS.
Signature
Blip ADD_BLIP_FOR_RADIUS(float posX, float posY, float posZ, float radius);Parameters
| Name | Type | Description |
|---|---|---|
posX | float | The x position of the blip (you can also send a vector3 instead of the bulk coordinates) |
posY | float | The y position of the blip (you can also send a vector3 instead of the bulk coordinates) |
posZ | float | The z position of the blip (you can also send a vector3 instead of the bulk coordinates) |
radius | float | The number that defines the radius of the blip circle |
Returns Blip — The blip handle that can be manipulated with every `SetBlip` natives
Description
Create a blip with a radius for the specified coordinates (it doesnt create the blip sprite, so you need to use AddBlipCoords)
Example image:

This is the server-side RPC native equivalent of the client native ADD_BLIP_FOR_RADIUS.
Usage
local retval = AddBlipForRadius(posX, posY, posZ, radius)
-- always works, by hash
local retval = Citizen.InvokeNative(0x4626756c, posX, posY, posZ, radius, Citizen.ResultAsInteger())JavaScript and C#
const retval = AddBlipForRadius(posX, posY, posZ, radius);
// by hash
const retval = Citizen.invokeNative('0x4626756c', posX + 0.0000001, posY + 0.0000001, posZ + 0.0000001, radius + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsInteger());int retval = Function.Call<int>((Hash)0x4626756c, posX, posY, posZ, radius);- Float parameters: Lua integers (
10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to non-zero floats for the same reason.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.