21.11.2010, 08:00
Hello. My gamemode has about 13000 lines. Since it grow up bigger and bigger something seems to be wrong.
The problem is that some public functions doesnt work or they only work for the first lines.
for example this:
forward SellCar(playerid);
public SellCar(playerid)
{
DestroyCar(GetVehicleID(playerid)); <<<< This Point works
... <<< This Point works too
... <<< This Point works too
... <<< This Point works too
... <<< This Point works too
GivePlayerMoney(playerid,10000); <<< this point and everything under this line doesnt work.
... <<< doesnt work too.
}
Does public function has a line limit or something like this?
What else could be wrong in my gamemode?
Could be this the porblem?
Header size: 9256 bytes
Code size: 722764 bytes
Data size: 2508820 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4315 cells (17260 bytes)
Total requirements: 3257224 bytes
Please help me and sorry for my bad english. Thx
The problem is that some public functions doesnt work or they only work for the first lines.
for example this:
forward SellCar(playerid);
public SellCar(playerid)
{
DestroyCar(GetVehicleID(playerid)); <<<< This Point works
... <<< This Point works too
... <<< This Point works too
... <<< This Point works too
... <<< This Point works too
GivePlayerMoney(playerid,10000); <<< this point and everything under this line doesnt work.
... <<< doesnt work too.
}
Does public function has a line limit or something like this?
What else could be wrong in my gamemode?
Could be this the porblem?
Header size: 9256 bytes
Code size: 722764 bytes
Data size: 2508820 bytes
Stack/heap size: 16384 bytes; estimated max. usage=4315 cells (17260 bytes)
Total requirements: 3257224 bytes
Please help me and sorry for my bad english. Thx