What's wrong with this script?
#5

Found it already.. But now i got 5 other errors.
Quote:

C:\Documents and Settings\SaW\My Documents\serv\movies\gamemodes\reg.pwn(2 : error 012: invalid function call, not a valid address
C:\Documents and Settings\SaW\My Documents\serv\movies\gamemodes\reg.pwn(2 : warning 215: expression has no effect
C:\Documents and Settings\SaW\My Documents\serv\movies\gamemodes\reg.pwn(2 : error 001: expected token: ";", but found ")"
C:\Documents and Settings\SaW\My Documents\serv\movies\gamemodes\reg.pwn(2 : error 029: invalid expression, assumed zero
C:\Documents and Settings\SaW\My Documents\serv\movies\gamemodes\reg.pwn(2 : fatal error 107: too many error messages on one line

Код:
public OnPlayerDisconnect(playerid, reason)
{
    if (IsLogged[playerid] = 1) {
	new playername[MAX_PLAYER_NAME];
	GetPlayerName(playerid, playername, sizeof(playername));
    dUserSetINT(playername(playerid)).("nauda",GetPlayerMoney(playerid));
    IsLogged[playerid] = 0;
    }
}
28 line:
dUserSetINT(playername(playerid)).("nauda",GetPlay erMoney(playerid));
Reply


Messages In This Thread
What's wrong with this script? - by SaW_[VrTx] - 07.07.2010, 07:50
Re: What's wrong with this script? - by silvan - 07.07.2010, 07:51
Re: What's wrong with this script? - by SaW_[VrTx] - 07.07.2010, 07:59
Re: What's wrong with this script? - by Hiddos - 07.07.2010, 08:10
Re: What's wrong with this script? - by SaW_[VrTx] - 07.07.2010, 08:27

Forum Jump:


Users browsing this thread: 2 Guest(s)