View Single Post
client21
Senior Member
Join Date: Apr 2013
Old 04-24-2013 , 14:40   Re: error 035: argument type mismatch (argument 2)
Reply With Quote #3

Quote:
Originally Posted by NinjaSK View Post
At what line do you get the error?

Basically, "argument type mismatch" means that you're inserting 1 type of argument into
a function which needs to receive an argument of different type.

For example: you will get this error if you input a integer into a function that requires a string.
Be attentive. I pointed to the line with the error:

PHP Code:
new Handle:Message StartMessage("Shake"player_listplayers); // error 035: argument type mismatch (argument 2) 
And here are the same types of arguments.
client21 is offline