02.10.2017, 16:27
Код:
C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1509) : error 017: undefined symbol "CreatedCars" C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1509) : error 017: undefined symbol "CreatedCar" C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1509) : error 029: invalid expression, assumed zero C:\Users\Jaua\Downloads\gta-rp\gamemodes\GTARP.pwn(1509) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
PHP код:
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid, X,Y,Z);
new carid = CreateVehicle(car, X+4,Y,Z, 0.0, color1, color2, 12000);
CreatedCars[CreatedCar] = carid;
PutPlayerInVehicle(playerid, carid, 0);
CreatedCar ++;
format(string, sizeof(string), " Vehicle %d spawned.", carid);
SendClientMessage(playerid, COLOR_GREY, string);