SA-MP Forums Archive
help - 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: help (/showthread.php?tid=638212)



help - Stealthshooter - 28.07.2017

Код:
LoadVehicle(vehicleID, file[]) {
	INI_ParseFile(file, "LoadVehicleData", .bExtra=true, .extra = vehicleID);

	CreateVehicleEx(VehicleInfo[vehicleID][vModel], VehicleInfo[vehicleID][xSpawn], VehicleInfo[vehicleID][ySpawn], VehicleInfo[vehicleID][zSpawn], VehicleInfo[vehicleID][angleSpawn], VehicleInfo[vehicleID][vCol1], VehicleInfo[vehicleID][vCol2], VehicleInfo[vehicleID][vPaintjob], VehicleInfo[vehicleID][vMod],VehicleInfo[vehicleID][vPlate], VehicleInfo[vehicleID][vRespawn], VehicleInfo[vehicleID][vOwner], VehicleInfo[vehicleID][vPrice], VehicleInfo[vehicleID][Secure], VehicleInfo[vehicleID][isOwned],VehicleInfo[vehicleID][vBuyable]);
}
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(814) : error 075: input line too long (after substitutions)
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(815) : error 017: undefined symbol "VehicleIn"
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(816) : warning 217: loose indentation
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(816) : error 017: undefined symbol "fo"
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(816) : warning 215: expression has no effect
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(816) : error 001: expected token: ";", but found "]"
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(816) : error 029: invalid expression, assumed zero
C:\Users\Unknown\Desktop\New folder (3)\filterscripts\EVO.pwn(816) : fatal error 107: too many error messages on one line


Re: help - Xeon™ - 28.07.2017

PHP код:
LoadVehicle(vehicleIDfile[]) {
    
INI_ParseFile(file"LoadVehicleData", .bExtra=true, .extra vehicleID);
    
CreateVehicleEx(VehicleInfo[vehicleID][vModel], VehicleInfo[vehicleID][xSpawn], VehicleInfo[vehicleID][ySpawn],
 
VehicleInfo[vehicleID][zSpawn], 
VehicleInfo[vehicleID][angleSpawn], VehicleInfo[vehicleID][vCol1],
 
VehicleInfo[vehicleID][vCol2], VehicleInfo[vehicleID][vPaintjob], VehicleInfo[vehicleID][vMod],VehicleInfo[vehicleID][vPlate], VehicleInfo[vehicleID][vRespawn], VehicleInfo[vehicleID][vOwner], 
VehicleInfo[vehicleID][vPrice], VehicleInfo[vehicleID][Secure], VehicleInfo[vehicleID][isOwned],VehicleInfo[vehicleID][vBuyable]);

use space's


Re: help - Stealthshooter - 28.07.2017

Quote:
Originally Posted by XeonMaster
Посмотреть сообщение
PHP код:
LoadVehicle(vehicleIDfile[]) {
    
INI_ParseFile(file"LoadVehicleData", .bExtra=true, .extra vehicleID);
    
CreateVehicleEx(VehicleInfo[vehicleID][vModel], VehicleInfo[vehicleID][xSpawn], VehicleInfo[vehicleID][ySpawn],
 
VehicleInfo[vehicleID][zSpawn], 
VehicleInfo[vehicleID][angleSpawn], VehicleInfo[vehicleID][vCol1],
 
VehicleInfo[vehicleID][vCol2], VehicleInfo[vehicleID][vPaintjob], VehicleInfo[vehicleID][vMod],VehicleInfo[vehicleID][vPlate], VehicleInfo[vehicleID][vRespawn], VehicleInfo[vehicleID][vOwner], 
VehicleInfo[vehicleID][vPrice], VehicleInfo[vehicleID][Secure], VehicleInfo[vehicleID][isOwned],VehicleInfo[vehicleID][vBuyable]);

use space's
thanks