10.04.2009, 23:28
Quote:
Originally Posted by Donny
Yes when the first person connects it should crash (I think) but what if you are just doing a print in Init() to check how many vehicles your script currently has ? In this case your code would return an invalid count if the user had indeed made a typo and passed an invalid model like the example I showed (3).
Anyway this doesn't matter because your code will of already killed the server by running the loop as 'v' isn't increased at any time so it's never going to be equal to MAX_VEHICLES. |