18.10.2014, 05:14
Hi, I've been getting warnings
they are nearly identical, the difference is only the query from mysql_format, here is one
from what i know, only the connection handle and the query are important, the rest are optional...
Код:
E:\test samp serber\gamemodes\dmxtreme.pwn(566) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(566) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(621) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(621) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(658) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(658) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(711) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(711) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(714) : warning 202: number of arguments does not match definition E:\test samp serber\gamemodes\dmxtreme.pwn(714) : warning 202: number of arguments does not match definition
Код:
mysql_format(mysql, query, sizeof(query), "UPDATE `users` SET `IsBanned` = 1 WHERE `Name` = '%s'", GetName(targetid)); //line 713 mysql_tquery(mysql, query); //line 714