Ezt a rendszám filterszkriptet: TengeriMalac írta.
De ha bele néz, a témában akkor nem harakszik hogy ide belinkeltem.
Amilyen pluginok szükségesek:
<a_samp>
Letöltés:
<zcmd>
<dini>
<sscanf>
#include <a_samp>
#include <zcmd>
#include <dini>
#include <sscanf>
public OnFilterScriptInit() {
new file[20];
for(new i = 0; i < MAX_VEHICLES; i++) {
format(file, sizeof(file), \"%d.ini\", i);
if(dini_Exists(file)) return SetVehicleNumberPlate(i, dini_Get(file, \"Numberplate\"));
SetVehicleToRespawn(i);
}
return 1;
}
CMD:rendszam(playerid, params[]) {
new file[20], platestr[20], vehicleid = GetPlayerVehicleID(playerid);
new Float:X, Float:Y, Float:Z, Float:A;
if(sscanf(params, \"s\", platestr)) return SendClientMessage(playerid, 0xFF0000FF, \"USAGE: /setnumberplate [string]\");
if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFF0000FF, \"Nem ülsz jármûben!\");
format(file, sizeof(file), \"%d.ini\", vehicleid);
GetPlayerPos(playerid, X, Y, Z); GetVehicleZAngle(vehicleid, A);
SetVehicleNumberPlate(vehicleid, platestr);
SetVehicleToRespawn(vehicleid);
SetVehiclePos(vehicleid, X, Y, Z);
SetVehicleZAngle(vehicleid, A);
PutPlayerInVehicle(playerid, vehicleid, 0);
if(!dini_Exists(file)) dini_Create(file);
dini_Set(file, \"Numberplate\", platestr);
return 1;
}