strcpy problem - 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: strcpy problem (
/showthread.php?tid=487511)
strcpy problem -
fordawinzz - 13.01.2014
If I try applying this code:
pawn Код:
stock CopyVehiclePlates(src, dest) {
strcpy(VehicleInfo[dest][vPlate], VehicleInfo[src][vPlate], 32);
printf("%s", VehicleInfo[dest][vPlate]);
}
it won't work, it prins me nothing.