Jump to content
  • 0

pomoc Error


GvaKO

Dotaz

public OnPlayerDisconnect(playerid, reason)
{
if(afk[playerid] == 1) Delete3DTextLabel(D_AFK[playerid]);
}

if (PLAYERLIST_authed[playerid])
{
dUserSetINT(PlayerName(playerid)).("money",GetPlayerMoney(playerid));
}
PLAYERLIST_authed[playerid] = false;
}
return 1;
}

 

C:\Documents and Settings\PC\My Documents\Downloads\Tisic_a_jedna_noc.pwn(772) : error 010: invalid function or declaration
C:\Documents and Settings\PC\My Documents\Downloads\Tisic_a_jedna_noc.pwn(774) : error 021: symbol already defined: "udb_UserSetInt"
C:\Documents and Settings\PC\My Documents\Downloads\Tisic_a_jedna_noc.pwn(774) : error 017: undefined symbol "playerid"
C:\Documents and Settings\PC\My Documents\Downloads\Tisic_a_jedna_noc.pwn(774) : error 010: invalid function or declaration
C:\Documents and Settings\PC\My Documents\Downloads\Tisic_a_jedna_noc.pwn(774 -- 778) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

1 odpověd na tuto otázku

Recommended Posts

  • 0

Chyba je v tom že public uzatváraš skôr ako máš

Vyznačím ti červeným čo máš zmazať

public OnPlayerDisconnect(playerid, reason)

{

if(afk[playerid] == 1) Delete3DTextLabel(D_AFK[playerid]);

}

 

if (PLAYERLIST_authed[playerid])

{

dUserSetINT(PlayerName(playerid)).("money",GetPlayerMoney(playerid));

}

PLAYERLIST_authed[playerid] = false;

}

return 1;

}

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...