14.02.2016, 14:48
Hi friends, Humm so i have a problem with the argument of a querry. I try to follow Mysql tutorial, but, when i just past what it's said, Pawno say me "argument type mismach 1"
Let's show the code
new string[256];
format(string,sizeof(string),"SELECT `Name` FROM `players` WHERE `Name` = '%s'",PlayerName);
mysql_query(string);
C:\**(62) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Errors.
Thanks you and sorry for my english (i'm french :/ )
Let's show the code
new string[256];
format(string,sizeof(string),"SELECT `Name` FROM `players` WHERE `Name` = '%s'",PlayerName);
mysql_query(string);
C:\**(62) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Errors.
Thanks you and sorry for my english (i'm french :/ )