[Ajuda] Warning
#1

Olб, Nгo consegui resolver isso sozinho, e tambйm nao sei usar muito a Dini, To Precisando de uma Ajuda nisso:
Quote:

Linha (41) : warning 202: number of arguments does not match definition
Linha (Cinquenta e Oito) : warning 202: number of arguments does not match definition
Linha (59) :warning 202: number of arguments does not match definition
Linha (62) : warning 202: number of arguments does not match definition
Linha (62) : warning 202: number of arguments does not match definition

PHP Code:
//linha 41
if(dini_Isset("Weapon.ini",PlayerName(playerid))) GivePlayerWeapon(playerid,dini_Int("Weapon.ini",PlayerName(playerid)));
//linha 58
dini_IntSet("Health.ini",PlayerName(playerid),GetPlayerHealth(playerid));
//linha 59
dini_IntSet("Armour.ini",PlayerName(playerid),GetPlayerArmour(playerid));
//linha 62
dini_IntSet("IPPlayers.ini",PlayerName(playerid),GetPlayerIp(playerid)); 
Reply
#2

PHP Code:
    new Float:Health[MAX_PLAYERS],
        
Float:Armour[MAX_PLAYERS],
        
IP[MAX_PLAYERS][20];
    
    
GetPlayerIp(playeridIP[playerid], 20);
    
GetPlayerHealth(playeridHealth[playerid]);
    
GetPlayerArmour(playeridArmour[playerid]);
    
    
//linha 41
    
if(dini_Isset("Weapon.ini"PlayerName(playerid)))
        
GivePlayerWeapon(playeriddini_Int("Weapon.ini"PlayerName(playerid)), 9999);
    
    
//linha 58
    
dini_FloatSet("Health.ini"PlayerName(playerid), Health[playerid]);

    
//linha 59
    
dini_FloatSet("Armour.ini"PlayerName(playerid), Armour[playerid]);

    
//linha 62
    
dini_Set("IPPlayers.ini"PlayerName(playerid), IP[playerid]); 
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)