Command Help
#3

[I]Try changing this :

PHP код:
GetVehicleModelIDFromName(vname[])
{
    for(new 
0211i++)
    {
        if ( 
strfind(VehicleNames[i], vnametrue) != -)
            return 
400;
    }
    return -
1;

To :

PHP код:
GetVehicleModelByName(vname[]) {
    for( new 
0212i++) {
        if(
strfind(VehicleNames[i], vnametrue) != -1) {
            return 
i+400;
        }
    }
    return 
0;
}[/
i
Reply


Messages In This Thread
Command Help - by Rog - 10.07.2015, 12:40
Re: Command Help - by Rog - 11.07.2015, 07:25
Re : Command Help - by KillerDVX - 11.07.2015, 12:21

Forum Jump:


Users browsing this thread: 1 Guest(s)