SA-MP Forums Archive
error 035: argument type mismatch (argument 2) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: error 035: argument type mismatch (argument 2) (/showthread.php?tid=250282)



error 035: argument type mismatch (argument 2) - Master_Gangster - 22.04.2011

I get that error message now on a bunch of shit for some reason in my game mode. IDK what I did wrong so I'll just post the errors:

this is the piece of code that gets those errors in:

Код:
TextDrawHideForAll(Spree);
and here as well:

Код:
SendClientMessageToAll(COLOR_LIME, string);
any ideas guys?


Re: error 035: argument type mismatch (argument 2) - Master_Gangster - 22.04.2011

Any ideas? I need help...


Re: error 035: argument type mismatch (argument 2) - Backwardsman97 - 22.04.2011

Make sure your Spree variable has the Text: tag when you declare it.


Re: error 035: argument type mismatch (argument 2) - Master_Gangster - 22.04.2011

Quote:
Originally Posted by Backwardsman97
Посмотреть сообщение
Make sure your Spree variable has the Text: tag when you declare it.
why do I all of a sudden get all these errors then?

Код:
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2076) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2076) : error 004: function "Streamer_OnPlayerPickUpPickup" is not implemented
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2082) : error 017: undefined symbol "pickupid"
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2096) : warning 225: unreachable code
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2096) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2096) : error 004: function "OnPlayerText" is not implemented
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2101) : warning 225: unreachable code
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2102) : error 017: undefined symbol "text"
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2102) : warning 215: expression has no effect
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2102) : error 001: expected token: ";", but found "]"
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2102) : error 029: invalid expression, assumed zero
C:\Users\owner\Desktop\Counter-Strike\gamemodes\COD.pwn(2102) : fatal error 107: too many error messages on one line