Quantcast
Channel: SA-MP Forums
Viewing all articles
Browse latest Browse all 18226

undefined symbol "vmodelused"

$
0
0
I got this script from my friend on skype
when I tried to compile it i get this error,what should I do?

Code:

xx\FR_RP1.5.pwn(4523) : error 017: undefined symbol "vmodelused"
xx\FR_RP1.5.pwn(4523) : warning 215: expression has no effect
xx\FR_RP1.5.pwn(4523) : error 001: expected token: ";", but found "]"
xx\FR_RP1.5.pwn(4523) : error 029: invalid expression, assumed zero
xx\FR_RP1.5.pwn(4523) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664                          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

PHP Code:

                    new temps1 pvehicle[playerid][0];
                    new 
temps2 GetVehicleModel(temps1);

                    if (
tvar2 == temps2) {
                        
GetVehicleDamageStatus(pvehicle[playerid][0], panelsdoorslightstires);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "panels"panels);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "doors"doors);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "lights"lights);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "tires"tires);
                    }
                    else {
                        
vmodelused[temps2-400] --;
                        if (
vmodelused[temps2-400] == 0vehiclemodels --;

                        
dini_IntSet(AddDirFile(dir_carfilesstring), "panels"0);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "doors"0);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "lights"0);
                        
dini_IntSet(AddDirFile(dir_carfilesstring), "tires"0);
                    } 


Viewing all articles
Browse latest Browse all 18226

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>