SA-MP Forums Archive
error 035: argument type mismatch (argument 1) - 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 035: argument type mismatch (argument 1) (/showthread.php?tid=653144)



error 035: argument type mismatch (argument 1) - enzulikeS - 27.04.2018

Line with error: CreateDynamicMapIcon(HouseInfo[hEntrancex],HouseInfo[hEntrancey],HouseInfo[hEntrancez], 31, 0, -1, -1, -1, 750.0);

how can i place mapicon on all the houses?


Re: error 035: argument type mismatch (argument 1) - jasperschellekens - 27.04.2018

PHP код:
CreateDynamicMapIcon(Float:xFloat:yFloat:ztypecolorworldid = -1interiorid = -1playerid = -1Float:streamdistance 100.0style MAPICON_LOCAL); 
You are missing the last parameter after the streamdistance of 750.


Re: error 035: argument type mismatch (argument 1) - Dutheil - 27.04.2018

Something's missing, isn't it?

Код:
HouseInfo[houseid][hEntrancex]



Re: error 035: argument type mismatch (argument 1) - jasperschellekens - 27.04.2018

Quote:
Originally Posted by Dutheil
Посмотреть сообщение
Something's missing, isn't it?

Код:
HouseInfo[houseid][hEntrancex]
Lmao nicely spotted