SA-MP Forums Archive
[DUDA] їComo hago una matricula? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Español/Spanish (https://sampforum.blast.hk/forumdisplay.php?fid=29)
+---- Thread: [DUDA] їComo hago una matricula? (/showthread.php?tid=469522)



[DUDA] їComo hago una matricula? - chusothe41 - 13.10.2013

Estoy guardando los datos de los coches en un .ini, para ello hay que crear un "stock" que de nombre al .ini
Mi stock es este:

pawn Код:
stock VehiclePath(playerid)
{
    new string[128],playername[MAX_PLAYER_NAME];
    GetPlayerName(playerid,playername,sizeof(playername));
    format(string,sizeof(string),PATH2,playername);
    return string;
}
Me gustaria que en vez de guardar el .ini de los coches con el nombre del jugador los guardara con un numero como si fuera una matricula, empezando por ejemplo con 00001...

Muchas gracias


Respuesta: [DUDA] їComo hago una matricula? - [Nikk] - 13.10.2013

Capaz esta funciуn te podria ayudar... https://sampwiki.blast.hk/wiki/Setvehiclenumberplate

Si no aca encontrй algo que podrнas usar como ejemplo.. (script) https://sampforum.blast.hk/showthread.php?tid=311079


Respuesta: [DUDA] їComo hago una matricula? - TiNcH010 - 15.10.2013

https://sampwiki.blast.hk/wiki/SetVehicleNumberPlate *


Respuesta: [DUDA] їComo hago una matricula? - OTACON - 16.10.2013

http://forum.sa-mp.com/showthread.ph...cleNumberPlate
http://pastebin.com/QNhgMGZi