Little strcmp problem
#7

Quote:
Originally Posted by Mike Garber
Посмотреть сообщение
For better performance I'd suggest to create a "key" system, with variables (integers) instead of comparing strings every time someone enters a vehicle/changes state.

Like Key = vehicleid, and if a player owns that vehicle, his "vKey" is the vehicleid.
Since you said that.
if the guy owns a banshee for example, won't he be able to enter ALL banshees?
Reply


Messages In This Thread
Little strcmp problem - by Gforcez - 20.03.2011, 15:44
Re: Little strcmp problem - by JaTochNietDan - 20.03.2011, 15:49
Re: Little strcmp problem - by ricardo178 - 20.03.2011, 15:51
Re: Little strcmp problem - by Gforcez - 20.03.2011, 16:06
Re: Little strcmp problem - by Mike Garber - 20.03.2011, 16:27
Re: Little strcmp problem - by admantis - 20.03.2011, 16:49
Re: Little strcmp problem - by maramizo - 20.03.2011, 17:05
Re: Little strcmp problem - by Mike Garber - 20.03.2011, 17:20

Forum Jump:


Users browsing this thread: 2 Guest(s)