/vehicle spawn by partial name
#1

REMOVED
Reply
#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
#3

http://forum.sa-mp.com/showthread.ph...ehicleByNameID
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)