08.01.2011, 16:29
Perdonen, como puedo hacer que ponga esto:
Y cuando reiniciemos el server las matriculas sigan siendo las mismas (y guardadas en un block)..
Ej: Abrimos el server con el cуdigo ese, y al abrirlo, que se guarden las matriculas, y apartir de hay cada vez que lo abramos tenga la 1ra matricula que se le puso, y se guarden en un block de notas (cfg, txt o ini)..
Ojala me ayuden, saludos!
pawn Код:
for(new vehicles = 0; vehicles < MAX_VEHICLES; vehicles++)
{
new random1 = random(99), random2 = random(9), string[250];
format(string, 256, "GS %d-%d", random1,random2);
SetVehicleNumberPlate(vehicleid, string);
}
Ej: Abrimos el server con el cуdigo ese, y al abrirlo, que se guarden las matriculas, y apartir de hay cada vez que lo abramos tenga la 1ra matricula que se le puso, y se guarden en un block de notas (cfg, txt o ini)..
Ojala me ayuden, saludos!