Help In Adding - 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: Help In Adding (
/showthread.php?tid=523358)
Help In Adding -
AroseKhanNiazi - 01.07.2014
pawn Код:
(7166) : error 029: invalid expression, assumed zero
(7166) : warning 215: expression has no effect
(7166) : error 001: expected token: ";", but found ")"
(7166) : error 029: invalid expression, assumed zero
(7166) : fatal error 107: too many error messages on one line
Code
pawn Код:
format(string, sizeof(string), "AAdmin/Users/%s.ini", HouseInfo[Hin[playerid]][hOwner]);
new INI:File = INI_Open(string);
INI_SetTag(File, "Players_Data");
INI_WriteInt(File, "Money", +=HouseInfo[Hin[playerid]][SalePrice]);//error line
INI_Close(File);
even tried with
pawn Код:
INI_WriteInt(File, "Money", +HouseInfo[Hin[playerid]][SalePrice]);
Re : Help In Adding -
Anonyme - 01.07.2014
Look >>>>
https://sampwiki.blast.hk/wiki/Errors_List
Re: Help In Adding -
Timeless - 01.07.2014
can you pinpoint which line is 7166
Re: Help In Adding -
AroseKhanNiazi - 01.07.2014
there is no solution for this -_-
i already told error line by //error line
Respuesta: Help In Adding -
SickAttack - 01.07.2014
INI_WriteInt(File, "Money",
amount + amount);
- What is up with all these house topics lol?
Re: Respuesta: Help In Adding -
AroseKhanNiazi - 01.07.2014
Quote:
Originally Posted by SickAttack
INI_WriteInt(File, "Money", amount + amount);
- What is up with all these house topics lol?
|
but how do i get its Money data Only and the player is offline ??
Respuesta: Help In Adding -
SickAttack - 01.07.2014
Just load the players cash, you already have the name, you just need to make a function that does it.
Re: Help In Adding -
AroseKhanNiazi - 01.07.2014
but how ??
Re: Help In Adding -
Stinged - 01.07.2014
INI_Int?
Re: Help In Adding -
AroseKhanNiazi - 01.07.2014
but how with it when i don't have player id