SA-MP Forums Archive
How to fix pawno erro 35: argument type mismatch (argument 3) - 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: How to fix pawno erro 35: argument type mismatch (argument 3) (/showthread.php?tid=547521)



How to fix pawno erro 35: argument type mismatch (argument 3) - quochuy7915 - 23.11.2014

Код:
eSPEEDO[5] = TextDrawCreate(playerid, 508.750000, 384.416412, "~g~UNLOCKED");
?
Please help me


Re: How to fix pawno erro 35: argument type mismatch (argument 3) - CutX - 23.11.2014

Quote:
Originally Posted by quochuy7915
Посмотреть сообщение
Код:
eSPEEDO[5] = TextDrawCreate(playerid, 508.750000, 384.416412, "~g~UNLOCKED");
?
Please help me
you've provided too much arguments to that function.

the prototype to that function looks like
Код:
TextDrawCreate(Float:x, Float:y, text[])
there is no "playerid"

you have to delete that 1st argument and itll work

like this:
pawn Код:
eSPEEDO[5] = TextDrawCreate(508.750000, 384.416412, "~g~UNLOCKED");



Re: How to fix pawno erro 35: argument type mismatch (argument 3) - quochuy7915 - 23.11.2014

Thanks you so much