Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

Error

$
0
0
errors
Code:

Compiling...
F:\Server\My server\Copy- of server 3\Call of Duty\gamemodes\TDM.pwn(17145) : error 035: argument type mismatch (argument 3)
F:\Server\My server\Copy- of server 3\Call of Duty\gamemodes\TDM.pwn(17146) : error 035: argument type mismatch (argument 3)
F:\Server\My server\Copy- of server 3\Call of Duty\gamemodes\TDM.pwn(17147) : error 035: argument type mismatch (argument 3)

PHP Code:

        new Query[300];
        
mysql_format(gSQL,Querysizeof(Query), "SELECT * FROM `Clans` WHERE `ID` = '%d'"searchclanid);
        
mysql_query(gSQLQuery );
        new 
clanid,clanlevel,clanpoints,clankills,clandeaths;
        new 
clanname[150],clandes[150],clanmoto[150];
        
cache_get_value_int(0"Clan_Id",clanid);
        
cache_get_value_name(0"Clan_Name",clanname);
        
cache_get_value_name(0"Clan_desc",clandes);
        
cache_get_value_name(0"Clan_Motd",clanmoto);
        
cache_get_value_int(0"Clan_Level",clanlevel);
        
cache_get_value_int(0"Clan_Points",clanpoints);
        
cache_get_value_int(0"Clan_Kills",clankills);
        
cache_get_value_int(0"Clan_Deaths",clandeaths);

        new 
str[2000];
        
strcat(str"\t{FFFFFF}Clan Info\n");
        
strcat(str"{#79C5FF}Clan Id{FFFFFF}    : %d\n",clanid);
        
strcat(str"{#79C5FF}Clan Name{FFFFFF}  : %s\n",clanname); //error
        
strcat(str"{#79C5FF}Clan Description{FFFFFF} : %s\n",clandes); //error
        
strcat(str"{#79C5FF}Clan Motd{FFFFFF}  : %s\n",clanmoto); //error
        
strcat(str"{#79C5FF}Clan Level{FFFFFF} : %d\n",clanlevel);
        
strcat(str"{#79C5FF}Clan Points{FFFFFF}: %d\n",clanpoints);
        
strcat(str"{#79C5FF}Clan Kills{FFFFFF} : %d\n",clankills);
        
strcat(str"{#79C5FF}Clan Deaths{FFFFFF}: %d\n",clandeaths);

        
Dialog_Show(playeridDIALOG_NULLDIALOG_STYLE_MSGBOX"Call of Duty AW ::  Clan Commands"str"Okay"""); 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>