How to fix this? - 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)
+--- Thread: How to fix this? (
/showthread.php?tid=630237)
How to fix this? -
Celmir - 11.03.2017
This is the errors and warnings:
error 035: argument type mismatch (argument 1)
error 001: expected token: "-string end-", but found "-identifier-"
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line
And this is my code:
Код:
forward loadaccount_user(playerid, name[], value[]);
public loadaccount_user(playerid, name[], value[])
{
INI_String("Password", pData[playerid][pPass], 129);
INI_Int("AdminLevel", pData[playerid][pAdmin]);
INI_Int("Money", pData[playerid][pMoney]);
INI_Int("Gender", pData[playerid][pGender]);
INI_Int("Skin", pData[playerid][pSkin]);
INI_Int("Banned", pData[playerid][pBanned]);
INI_Int("BanMod", pData[playerid][pBanMod]);
return 1;
}
Re: How to fix this? -
Toroi - 11.03.2017
Are you using udb_hash to hash the password?