[Ajuda] 5 warnings
#1

Pessoal da uma forзa ai

pawn Код:
C:\(260): warning 202: number of arguments does not match definition
C:\(260) : warning 202: number of arguments does not match definition
C:\(263) : warning 202: number of arguments does not match definition
C:\(264) : warning 202: number of arguments does not match definition
C:\(818) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Warnings.
pawn Код:
*/public OnPlayerDisconnect(playerid, reason)
{*/
    dini_IntSet("IPPlayers.ini",PlayerName(playerid),GetPlayerIp(playerid)); //260
    dini_IntSet("Color.ini",PlayerName(playerid),GetPlayerColor(playerid));
    dini_IntSet("WantedLevel.ini",PlayerName(playerid),GetPlayerWantedLevel(playerid));
    dini_IntSet("Armour.ini",PlayerName(playerid),GetPlayerArmour(playerid));//263
    dini_IntSet("Health.ini",PlayerName(playerid),GetPlayerHealth(playerid));//264
    dini_IntSet("Weapon.ini",PlayerName(playerid),GetPlayerWeapon(playerid));
    dini_IntSet("score.ini",PlayerName(playerid),GetPlayerScore(playerid));
    dini_IntSet("dinheiro.ini",PlayerName(playerid),GetPlayerMoney(playerid));
    dini_IntSet("skins.ini",PlayerName(playerid),GetPlayerSkin(playerid));




*/public OnPlayerSpawn(playerid)
{*/
if(dini_Isset("Weapon.ini",PlayerName(playerid))) //818
Reply
#2

salva assim que й mais fбcil:


pawn Код:
new s[128];
                 format(s, sizeof(s),"suapasta/%s.ini", GetPlayerName(playerid, n, 24));
                 
                 Dini_IntSet(s, "Dinheiro", GetPlayerMoney(playerid));

este й um exemplo.

usas 1 Arquivo acada player, assim ele nгo darб Lбg.
Reply
#3

pawn Код:
*/public OnPlayerDisconnect(playerid, reason)
{*/
    dini_IntSet("IPPlayers.ini",PlayerName(playerid),GetPlayerIp(playerid)); //260
    dini_IntSet("Color.ini",PlayerName(playerid),GetPlayerColor(playerid));
    dini_IntSet("WantedLevel.ini",PlayerName(playerid),GetPlayerWantedLevel(playerid));
    dini_IntSet("Armour.ini",PlayerName(playerid),GetPlayerArmour(playerid));//263
    dini_IntSet("Health.ini",PlayerName(playerid),GetPlayerHealth(playerid));//264
    dini_IntSet("Weapon.ini",PlayerName(playerid),GetPlayerWeapon(playerid));
    dini_IntSet("score.ini",PlayerName(playerid),GetPlayerScore(playerid));
    dini_IntSet("dinheiro.ini",PlayerName(playerid),GetPlayerMoney(playerid));
    dini_IntSet("skins.ini",PlayerName(playerid),GetPlayerSkin(playerid));




*/public OnPlayerSpawn(playerid)
{*/
if(dini_Isset("Weapon.ini",PlayerName(playerid),SetPlayerWeapon(playerid))); //818
Reply
#4

Quote:
Originally Posted by Shickcard
Посмотреть сообщение
pawn Код:
*/public OnPlayerDisconnect(playerid, reason)
{*/
    dini_IntSet("IPPlayers.ini",PlayerName(playerid),GetPlayerIp(playerid)); //260
    dini_IntSet("Color.ini",PlayerName(playerid),GetPlayerColor(playerid));
    dini_IntSet("WantedLevel.ini",PlayerName(playerid),GetPlayerWantedLevel(playerid));
    dini_IntSet("Armour.ini",PlayerName(playerid),GetPlayerArmour(playerid));//263
    dini_IntSet("Health.ini",PlayerName(playerid),GetPlayerHealth(playerid));//264
    dini_IntSet("Weapon.ini",PlayerName(playerid),GetPlayerWeapon(playerid));
    dini_IntSet("score.ini",PlayerName(playerid),GetPlayerScore(playerid));
    dini_IntSet("dinheiro.ini",PlayerName(playerid),GetPlayerMoney(playerid));
    dini_IntSet("skins.ini",PlayerName(playerid),GetPlayerSkin(playerid));




*/public OnPlayerSpawn(playerid)
{*/
if(dini_Isset("Weapon.ini",PlayerName(playerid),SetPlayerWeapon(playerid))); //818
o que voce mudo ? ainda continua os mesmo warnings
Reply
#5

https://sampforum.blast.hk/showthread.php?tid=180237
https://sampforum.blast.hk/showthread.php?tid=180237
https://sampforum.blast.hk/showthread.php?tid=180237
https://sampforum.blast.hk/showthread.php?tid=180237
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)