25.03.2018, 12:24
Nope, fallenGirl you're wrong!
@Hunud
You did a problem in it's parameters, You've added MAPICON_GLOBAL instead of playerid and other params.
Fixed code.
Here is CreateDynamicMapIcon parameters.
@Hunud
You did a problem in it's parameters, You've added MAPICON_GLOBAL instead of playerid and other params.
Fixed code.
Код:
AirportZone[i][AP_ZONE_CP] = CreateDynamicMapIcon(AirportZone[i][AP_ZONE_CP][0], AirportZone[i][AP_ZONE_CP][1], AirportZone[i][AP_ZONE_CP][2], 5, 0, -1 , -1 , -1 ,100.0, MAPICON_GLOBAL);
Код:
CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0, style = MAPICON_LOCAL);