[Ajuda] error 035: argument type mismatch (argument 2)
#7

Tente assim amigo, depois posta o resultado.

PHP код:
enum playerData
{
    
pID,
    
pIP[16],
};
new 
zdata[MAX_PLAYERS][playerData];

new 
pGuns[MAX_PLAYERS][13];
new 
pAmmo[MAX_PLAYERS][13];

forward OnAccountLoad(playerid);
public 
OnAccountLoad(playerid)
{
    new
        
query[2048];

    
cache_get_value_int(0"ID"zdata[playerid][pID]);
    
cache_get_value(0"IP"zdata[playerid][pIP]);


    for (new 
013++)
    {
        
format(querysizeof(query), "Gun%d"1);
        
cache_get_value_name_int(iquerypGuns[playerid][i]);

        
format(querysizeof(query), "Ammo%d"1);
        
cache_get_value_name_int(iquerypAmmo[playerid][i]);
    }
    return 
1;
}

CMD:daskj(playerid)
{
    
OnAccountLoad(playerid);
    return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)