help for change id vichel id
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
Like said above, it can't be changed. If your scripts starts to bug just by adding more vehicles then your gamemode is relying on assumptions. And assumptions are bad. That's why there are variables.

Imagine that the gamemode assumes that vehicles with ids 1 through 20 are police vehicles and the rest are normal vehicles. If you add a new vehicle at the beginning then that vehicle will get id 1 and all the rest will move one place down. The vehicle you just created becomes a police vehicle and the 20th vehicle (which is now the 21st vehicle) suddenly becomes a normal vehicle.
Thank you for explaining what I meant.
Reply


Messages In This Thread
help for change id vichel id - by br155 - 04.04.2014, 13:37
Re: help for change id vichel id - by MMOSlot - 04.04.2014, 13:55
Re: help for change id vichel id - by Cookland - 04.04.2014, 13:56
Re: help for change id vichel id - by br155 - 04.04.2014, 14:03
Re: help for change id vichel id - by Cookland - 04.04.2014, 14:04
Re: help for change id vichel id - by br155 - 04.04.2014, 14:17
Re: help for change id vichel id - by ChristianIvann09 - 04.04.2014, 14:22
Re: help for change id vichel id - by br155 - 04.04.2014, 14:26
Re: help for change id vichel id - by Vince - 04.04.2014, 14:41
Re: help for change id vichel id - by Cookland - 04.04.2014, 14:54

Forum Jump:


Users browsing this thread: 2 Guest(s)