SA-MP Forums Archive
zex veh comp - 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: zex veh comp (/showthread.php?tid=656202)



zex veh comp - ShoortyFl - 09.07.2018

Hello!
I have a problem with zex veh comp

When i try to get the name of component i get error

error 037: invalid string (possibly non-terminated string)

Code:

pawn Код:
new comp_name[64];
GetVehicleComponentName(componentid, comp_name);
Include:
https://github.com/Open-GTO/zvehcomp...r/zvehcomp.inc


Re: zex veh comp - ItsRobinson - 09.07.2018

GetVehicleComponentName(componentid, comp_name, sizeof(comp_name));