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

errors help

$
0
0
PHP Code:

516) : error 035argument type mismatch (argument 3)
(
517) : error 035argument type mismatch (argument 3

PHP Code:

stock RegisterPlayer(playeridpassword[])
{
     new 
strdate[20], year,month,day,ip[128];
    
getdate(yearmonthday);
    
format(strdate,sizeof(strdate),"%d/%d/%d",day,month,year);
        
    new 
INI:File INI_Open(UserPath(playerid));
    
INI_SetTag(File,"data");
    
INI_WriteInt(File,"Password",udb_hash(password));
    
INI_WriteInt(File,"RegisteredDate",strdate);    // Here Is Line 516
    
INI_WriteInt(File,"Ip",ip);                             // Here Is Line 517
    
INI_WriteInt(File,"Cash",0);
    
INI_WriteInt(File,"Admin",0);
    
INI_WriteInt(File,"Kills",0);
    
INI_WriteInt(File,"Deaths",0);
    
INI_WriteInt(File,"Hours",0);
    
INI_WriteInt(File,"Minutes",0);
    
INI_WriteInt(File,"Seconds",0);
    
    
INI_Close(File);

    
PlayerInfo[playerid][pLogged] = 1;
    
PlayerInfo[playerid][pRegistered] = 1;
    
    
GivePlayerMoney(playerid,50000);
    
SavePlayerStats(playerid);




Viewing all articles
Browse latest Browse all 18226

Trending Articles



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