Reducing the money to start / daypay and error - 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: Reducing the money to start / daypay and error (
/showthread.php?tid=274730)
Reducing the money to start / daypay and error -
Inaro95 - 07.08.2011
Hi, I have a problem because I want to reduce the amount of money to start it now is something around $ 2000 and daypay, the payments are too high. Gamemode the State of Poland ... I also have error, I added to the map tables 0.3c cars under the definitions of colors and now crashes a strange error.
Код:
stock b_CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:a, c1, c2, resp = -1)
{
new num_plate[16], v = CreateVehicle(vehicletype, Float:x, Float:y, Float:z, Float:a, c1, c2, resp);
format(num_plate, sizeof num_plate, "LS %03d", v);
SetVehicleNumberPlate(v, num_plate);
return v;
}
#define CreateVehicle b_CreateVehicle
#define AddStaticVehicle b_CreateVehicle
#define AddStaticVehicleEx b_CreateVehicle
error:
Quote:
(191) : error 010: invalid function or declaration
|
linijka 191:
Quote:
forward RemovePlayerWeapon(playerid, weaponid);
|
gуrna linijka i dolna kodu z linijki 191:
Quote:
new mowa[MAX_PLAYERS];
new Loguje[MAX_PLAYERS];
new Text:Krew;
forward RemovePlayerWeapon(playerid, weaponid);
forward detonateVehicle(playerid, vehicleid, bowner);
forward esta();
//------[Anty Money]
forward SafeGivePlayerMoney(plyid, amounttogive);
|
Edit: I did not move from this error, I looked in the previous version gamemoda and is all the same, but the Error shows.