scripts error problems
#1

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 :

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.
i checked the scrpt line 8151 and i found this :

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 }
Reply
#2

You are using old version of y_iterate that does not have vehicle iterator, update it to solve the issue.

https://github.com/pawn-lang/YSI-Includes
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)