Please help. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Please help. (
/showthread.php?tid=237395)
Please help. -
cre8ticity - 09.03.2011
Hey, help me out with this.
Код:
C:\Users\Joe\Desktop\Sa-mp\gamemodes\supremeroleplay.pwn(410) : error 006: must be assigned to an array
pawn Код:
public OnPlayerLogin(playerid)
{
PLAYERLIST_authed[playerid] = true;
Regstep = dUserINT(PlayerName(playerid)).("Regstep");
Admin = dUserINT(PlayerName(playerid)).("Admin");
Accent = dUser(PlayerName(playerid)).("Accent"); // Line 410
GivePlayerMoney(playerid,dUserINT(PlayerName(playerid)).("Money")-GetPlayerMoney(playerid));
SetPlayerScore(playerid,dUserINT(PlayerName(playerid)).("Level")-GetPlayerScore(playerid));
}
Re: Please help. -
alpha500delta - 09.03.2011
Shouldn't dUser be dUserINT?
Re: Please help. -
cre8ticity - 09.03.2011
Quote:
Originally Posted by alpha500delta
Shouldn't dUser be dUserINT?
|
No, I am saving characters not numbers.
Re: Please help. -
cre8ticity - 09.03.2011
EDIT: Fixed it by changing:
to