[FS| 0.2.2] TYS [REL: 12 Feb 2008] Test Your Server 1.5
#21

thanks!!!! very useful!

but whats that mean:
Types of vehicles: [ 66] [ 70] [ 60]
Errors and Warnings:
__________________________________________________ ______________
Warning: Recomended count of types of vehicles is 60

what i to ?


sry my very bad english!
Reply
#22

great script helped me with my vehicled ids
Reply
#23

Quote:
Originally Posted by paike
thanks!!!! very useful!

but whats that mean:
Types of vehicles: [ 66] [ 70] [ 60]
Errors and Warnings:
__________________________________________________ ______________
Warning: Recomended count of types of vehicles is 60

what i to ?


sry my very bad english!
It's only a warning. It doesn't mean that you have problems. But if you'll have an error you have some problems.

My English isn't good too
Reply
#24

thanks to answer
Reply
#25

Quote:
Originally Posted by paike
thanks to answer
THX for using :P
Reply
#26

Код:
****TYS14.pwn(173) : warning 213: tag mismatch
****TYS14.pwn(185) : warning 213: tag mismatch
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

2 Warnings.
Line 173:
Код:
return TT;
Line 185:
Код:
if (IsValidMenu(menx)) {
Reply
#27

Maybe you should change your vehicle count function to this, it'd be more accurate.

pawn Код:
stock VehicleCount( )
{
    new iVehicleCnt;

    for( new i = 1; i < MAX_VEHICLES; i++ ) // Loop vehicles.
        if ( GetVehicleModel( i ) ) // If it's not a valid vehicleid then GetVehicleModel will return 0.
            iVehicleCnt++;      // Increase if the vehicle model is not 0.
   
    return iVehicleCnt;
}
In your VehicleModel function you should make a variable for the return value of VehicleCount and save it there instead of creating and then destroying 250 vehicles.
Reply
#28


Using this spared me alot off time , keep up the good work!
Reply
#29



It doesn't count some certain things. (I have no textdraws nor gamezones, so those work, however I have vehicles, types of vehicles, more objects and pickups.)

I also have the same warnings as Sandra18[NL]

Quote:

****TYS14.pwn(173) : warning 213: tag mismatch
****TYS14.pwn(185) : warning 213: tag mismatch
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

2 Warnings.

Reply
#30

Those are noob errors and can easily be corrected by whomever is trying to recompile the script.

Also, it will not count cars that are created via FS I don't think. At least...it didn't count any of my cars when I test Taxi's vehicle streamer.
Reply
#31

Wow! Good Work I was just finding this type of thingy
Reply
#32

all links down ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)