Oko optimizacije koda

Započeo Skorpija_026
6. Jan. 2019.
557
pregleda
5
postova
David||BM
5
Made Man
🔥3
6. Jan. 2019.
Problem(error/warning): Optimizujem mod i baca mi warrninge
Dio skripte:
C:\Users\s\Desktop\Vandals Project OGC\gamemodes\Valands_project.pwn(27304) : warning: recursion in squareAttachTrailerToVehicle
C:\Users\s\Desktop\Vandals Project OGC\gamemodes\Valands_project.pwn(27314) : warning: recursion in squareKillTimer
C:\Users\s\Desktop\Vandals Project OGC\gamemodes\Valands_project.pwn(27309) : warning: recursion in squareSetPlayerSkin

Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log):  //
Slika/video ingame problema(obavezno ako je ingame problem):
stock square_AttachTrailerToVehicle(trailerid, vehicleid)
{
LastPullingVehicle[ trailerid ] = vehicleid;
return squareAttachTrailerToVehicle( trailerid, vehicleid );
}
stock square_SetPlayerSkin(playerid, skin)
{
    squareSetPlayerSkin(playerid, skin);
return true;
}
stock square_KillTimer( timerid ) {
if( timerid == -1 ) return 1;
return squareKillTimer( timerid );
}
Spasicc
4
Enforcer
7. Jan. 2019.
Si napravio negde gore new squareAttachTrailerToVehicle; new squareKillTimer; squareSetPlayerSkin; ?
Muma Rascall
6
Forum Don
🔥4
7. Jan. 2019.
E jesi ga optimizovao. 😄

ÄŒitaj ovdje. https://forum.sa-mp.com/showthread.php?t=645863
David||BM
5
Made Man
🔥3
7. Jan. 2019.
Resio sam .lock hvala vam
David||BM
5
Made Man
🔥3
7. Jan. 2019.
z

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava

© 2026 SmartShark. All rights reserved.

Powered by Momentum|v2026.3.001 Alpha