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



error 035: argument type mismatch (argument 4) - danielpalade - 15.05.2017

-- DELETED --


Re: error 035: argument type mismatch (argument 4) - Hansrutger - 15.05.2017

playerid = playerid
color = -1
eng[] = "(%d) %s - admin level %d"
-->ro[] = i
va_args = playerVariables[i][pNormalName] , playerVariables[i][pAdminLevel]

Not really sure how va_args works, it would be really fun to see how that works so I perhaps could not use #emits

Anyhow in this case I believe you're thinking that ro[] won't be taken into count but it will. You have to somehow call ".va_args<> = {ur arguments here}" if that is even possible, I doubt it though. That's my theory!