Please help me
#5

Quote:
Originally Posted by Meller
View Post
I made the same mistake as you,he's checking if the vehicle is an int or string.
He is checking nothing. Because his function is bullshit.

Code:
stock GetVehicleModelFromName(const vname[])
{
for(new i = 0; i < 211; i++)
{
if(strfind(VehicleNames[i], vname, true) != -1) 
{
return i + 400;
}
}
return -1;
}
Reply


Messages In This Thread
Please help me - by Imbalo - 12.04.2017, 11:27
Re: Please help me - by Meller - 12.04.2017, 11:49
Re: Please help me - by GangstaSunny. - 12.04.2017, 11:51
Re: Please help me - by Meller - 12.04.2017, 11:53
Re: Please help me - by GangstaSunny. - 12.04.2017, 12:11
Re: Please help me - by Meller - 12.04.2017, 12:36
Re: Please help me - by GangstaSunny. - 12.04.2017, 12:42
Re: Please help me - by Spoookymon - 12.04.2017, 12:51
Re: Please help me - by Imbalo - 12.04.2017, 16:18
Re: Please help me - by Meller - 12.04.2017, 16:37

Forum Jump:


Users browsing this thread: 2 Guest(s)