Error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Error (
/showthread.php?tid=631614)
Error -
Face9000 - 01.04.2017
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?
Re: Error -
J0sh... - 01.04.2017
CreateDynamicMapIcon([pumpX],
so do this
CreateDynamicMapIcon(PumpData[i][pumpX],
2:
Set stream distance to 3000
Re: Error -
Face9000 - 01.04.2017
Thanks.