14.07.2019, 03:37
hello all,
i have tryed to complile the script called old school roleplay the one posted in gamemode scripts
i got all the required files and put them where they need to be putted but when i try to compile it give me the following errors :
i checked the scrpt line 8151 and i found this :
i have tryed to complile the script called old school roleplay the one posted in gamemode scripts
i got all the required files and put them where they need to be putted but when i try to compile it give me the following errors :
Code:
C:\Users\Abdou\Desktop\samp\gamemodes\os-rp.pwn(8151) : error 017: undefined symbol "Vehicle@YSII_Ag" C:\Users\Abdou\Desktop\samp\gamemodes\os-rp.pwn(8151) : error 017: undefined symbol "Vehicle@YSII_Ag" C:\Users\Abdou\Desktop\samp\gamemodes\os-rp.pwn(8151) : error 029: invalid expression, assumed zero C:\Users\Abdou\Desktop\samp\gamemodes\os-rp.pwn(8151) : fatal error 107: too many error messages on one line Compilation aborted. Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase 4 Errors.
Code:
8149 GetVehicleLinkedID(id)
8150 {
8151 foreach(new i: Vehicle)
8152 {
8153 if(VehicleInfo[i][vID] == id)
8154 {
8155 return i;
8156 }
8157 }
8158
8159 return INVALID_VEHICLE_ID;
8160 }

