CreateDynamicMapIcon
#1

Hi,

When i use CreateDynamicMapIcon with full parameters i get warning that i use 10 parameters but i can only 9

Code:
CreateDynamicMapIcon(Float:x, Float:y, Float:z, type, color, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0, style = MAPICON_LOCAL);
x - 1
y - 2
z - 3
type - 4
color - 5
worldid - 6
interior - 7
playerid - 8
stramdistance - 9
style - 10
Reply
#2

Code:
CreateDynamicMapIcon(0.0, 0.0, 0.0, 10, 0, 0, 0, playerid, 100.0);
The 10th parameter is default (or optional), you don't need to include it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)