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

PHP код:
enum playerData {
    
pID,
    
pIP[16],
    
pGuns[13],
    
pAmmo[13]
};
new 
PlayerData[MAX_PLAYERS][playerData];
forward OnAccountLoad(playerid);
public 
OnAccountLoad(playerid)
{
    new
        
query[2048];
    
cache_get_value_int(0"ID"PlayerData[playerid][pID]);
    
cache_get_value(0"IP"PlayerData[playerid][pIP]);
    
/*for (new i = 0; i < 13; i ++) {
        format(query, sizeof(query), "Gun%d", i + 1);
        cache_get_value_int(i, query, PlayerData[playerid][pGuns][i]);
        format(query, sizeof(query), "Ammo%d", i + 1);
        cache_get_value_int(i, query, PlayerData[playerid][pAmmo][i]);
    }*/
    
 
    
return 1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)