Pawn Compile crash (arrays)
#1

Out of everything I've done in pawn for the last 4 years, 99 percent of my problems are with fucking arrays. They are the bane of my fucking life.

I'm trying to make an array of 'sporty' vehicles:

pawn Код:
new gVehModel_Sporty[] = {
402, // Buffalo
411, // Infernus
415, // Cheetah
429, // Banshee
451, // Turismo
477, // ZR-350
480, // Comet
506, // Super GT
541, // Bullet
559, // Jester
560, // Sultan
602, // Alpha
603 // Phoenix
};
Then create a vehicle with one of those models, randomly:

EDIT: .. nevermind.

Turns out arrays are case sensitive and if you don't adhere to that pawn has a mardy.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)