SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 19/06/2020, 11:31 PM   #1
yRamos14
Little Clucker
 
Join Date: Dec 2019
Location: Debaixo da Ponte
Posts: 9
Reputation: 6
Post Warning

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)); 
yRamos14 is offline   Reply With Quote
Old 21/06/2020, 12:42 PM   #2
cicinho
Huge Clucker
 
cicinho's Avatar
 
Join Date: Feb 2015
Location: Brasil - Alagoas
Posts: 252
Reputation: 8
Default Re: Warning

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]); 
__________________


HostName: GTA Torcidas - [PC/Android]
Address: server.gtatorcidas.net:2009
Language: Portugues | Brasil PT-BR
Weburl: https://www.gtatorcidas.net
cicinho is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Warning 213: Tag mismatch and warning 202: number of arguments does not match definition ConnorG Scripting Help 5 12/01/2018 02:32 AM
[Ajuda] warning 217: loose indentation, warning 202: number of arguments does not match definition NATANGameron Português/Portuguese 7 05/04/2017 12:36 AM
warning (7784) : warning 202: number of arguments does not match definition b0b Scripting Help 3 08/06/2014 05:26 PM
warning 215: expression has no effect & warning 235: public function lacks forward declaration botak Scripting Help 4 27/12/2013 12:38 PM


All times are GMT. The time now is 01:19 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.