SetVehicleNumberplate [0.3c]

Código: Seleccionar todo
SetVehicleNumberplate(vehicleid, numberplate[]);


Fuente wiki: http://wiki.sa-mp.com/wiki/SetVehicleNumberPlate

SetVehicleNumberplate(vehicleid, numberplate[]);
vehicleid = Id del vehiculo
numberplate[] = nueva matricula del vehiculo

Imagen:
Oculto:
Imagen


Codigo usado en el EJEMPLO:
Código: Seleccionar todo
if(strcmp(cmd, "/matriculas", true) == 0)    {     tmp = strtok(cmdtext, idx); new vehicleid = strval(tmp);     tmp = strtok(cmdtext, idx); new numberplate[200]; strmid(numberplate, tmp, 0, strlen(tmp), sizeof(numberplate));     SetVehicleNumberPlate(vehicleid, numberplate);     SetVehicleToRespawn(vehicleid);    return 1;    }


Creditos: PawnoScripting

No hay comentarios:

Publicar un comentario