error 035: argument type mismatch (argument 1)
#1

error 035: argument type mismatch (argument 1)

Plugin Used : StrickenKid

PHP код:
while(mysql_fetch_row(Query))
    
// here after the server has selected the user
    //from the database and stored its data we extract that data onto our enums.
    
{
        
mysql_fetch_int("id"PlayerInfo[playerid][ID2]);
        
// the special identifier of a user called "id"
        
mysql_fetch_int("Level"PlayerInfo[playerid][Level]);
        
// the admin level of the player
        
mysql_fetch_int("Score"PlayerInfo[playerid][Score]); SetPlayerScore(playeridPlayerInfo[playerid][Score]);
        
// here we fetch the score and save it to the enum and also save it to the server by using setplayerscore
        
mysql_fetch_int("Money"PlayerInfo[playerid][Money]); GivePlayerCash(playeridPlayerInfo[playerid][Money]);
        
// here we fetch the score and save it to the enum and also save it to the server by using setplayerscore
        
mysql_fetch_int("Kills"PlayerInfo[playerid][Kills]);
        
// the amount of kills a player has
        
mysql_fetch_int("Deaths"PlayerInfo[playerid][Deaths]);
        
// the amount of deaths a player has
        //
        // the way to fetch a users stats from the database is:
        //mysql_fetch_int("table_name", variable_to_store_in);  remember the "table_name" is case sensitive!
    

How fix it ?
Reply
#2

reply pleaseeeeeeeee
Reply
#3

Show me PlayerInfo enum, and specify which line it is that your compiler says it is..
Reply
#4

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Show me PlayerInfo enum, and specify which line it is that your compiler says it is..
Saying this all line
Reply
#5

Quote:
Originally Posted by Hostoxide
Посмотреть сообщение
Saying this all line
No, there is a specific line that the compiler will tell you... Which line is it... :P
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)