#1

I have this code to create in automatic the map icons for gas pumps:

pawn Код:
CreateDynamicMapIcon([pumpX], PumpData[i][pumpY], PumpData[i][pumpZ], 55, 0, 0, .streamdistance = 2000.0);
But when i compile, i get this:

Quote:

error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
error 029: invalid expression, assumed zero
fatal error 107: too many error messages on one line

What's wrong? And how to make this icons visibile even if a player is faaaar away from the gas pumps?
Reply
#2

CreateDynamicMapIcon([pumpX],
so do this
CreateDynamicMapIcon(PumpData[i][pumpX],

2:

Set stream distance to 3000
Reply
#3

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)