/vehicle spawn by partial name
#2

Not tested. But should works.
Replace :
pawn Код:
if(strcmp(VehicleNames[i], tmp, true)==0)
With
pawn Код:
if ( strfind( VehicleNames[ i ], tmp, true ) != -1 )
strcmp compares the whole string.
Reply


Messages In This Thread
REMOVED - by Campionull - 21.04.2013, 11:29
Re: /vehicle spawn by partial name - by greentarch - 21.04.2013, 11:34
Re: /vehicle spawn by partial name - by Jefff - 21.04.2013, 13:08

Forum Jump:


Users browsing this thread: 1 Guest(s)