Argument Type Mismatch (argument 2)
#4

You are trying to store their name in an integer. You would have to make 'playername' a string. Change the first line of the code you pasted to:
pawn Код:
new player1,playername[MAX_PLAYER_NAME];
Reply


Messages In This Thread
Argument Type Mismatch (argument 2) - by grand.Theft.Otto - 21.03.2011, 19:39
Re: Argument Type Mismatch (argument 2) - by [NRP]Blade - 21.03.2011, 19:43
Re: Argument Type Mismatch (argument 2) - by grand.Theft.Otto - 21.03.2011, 19:50
Re: Argument Type Mismatch (argument 2) - by Mikkel_Pedersen - 21.03.2011, 19:56

Forum Jump:


Users browsing this thread: 4 Guest(s)