[FilterScript] ServerSide Modded LSPD Infernus
#1

With this simple stock you will be able to change your normal Infernus in a LSPD HSIU Infernus.


Screenshots




Download and more screens at my repository

http://agcsigntest.altervista.org/Pa.../infernus.html
Reply
#2

You're not the first one, it's been done already on many servers. But anyhow, good job for your effort .
Reply
#3

Quote:
Originally Posted by DanishHaq
Посмотреть сообщение
You're not the first one, it's been done already on many servers. But anyhow, good job for your effort .
True, but I couldn't find a script about this on the forums (even though there probably are many)
so thanks for sharing what I was searching for

BTW how do you get that square style mini radar?
Reply
#4

Is that for every Infernus that is spawned or ? How to create it?
Reply
#5

Quote:
Originally Posted by knackworst
Посмотреть сообщение
True, but I couldn't find a script about this on the forums (even though there probably are many)
so thanks for sharing what I was searching for

BTW how do you get that square style mini radar?
Its a GTA 5 mod I think
Reply
#6

nice
Reply
#7

HOW TO INSTAL IT?
Reply
#8

Yes, i put a stock, so it be for all infernus or what ?
Sorry, but i dont understand D:
Reply
#9

Copy the stock code
pawn Код:
stock LSPDizeInfernus(vehicleid)
{
    new alspdo = CreateObject(2286,-0.0972000,-1.9730999,0.2444000,275.5001526,0.0000000,0.0000000);
    SetObjectMaterial(alspdo, 1, 0, "none", "none");
    new lspdsirena = CreateObject(18646,0.4676000,0.3301000,0.7125000,356.0000000,0.0000000,0.0000000);
    new lspdo1 = CreateObject(19280, -0.5947266,2.6767578,-0.4871000,341.4990234,0.0000000,12.7496338);
    new lspdo3 = CreateObject(19280, -0.7447000,2.6440001,-0.4871000,341.4990234,0.0000000,12.7496338);
    new lspdo4 = CreateObject(19280, 0.6053000,2.6768000,-0.4871000,341.4990234,0.0000000,346.7496338);
    new lspdo5 = CreateObject(19280, 0.7545000,2.6418002,-0.4871000,341.4990234,0.0000000,346.7449951);
    SetObjectMaterial(lspdo1, 1, 18646, "matcolours", "red");
    SetObjectMaterial(lspdo3, 1, 18646, "matcolours", "red");
    SetObjectMaterial(lspdo4, 1, 18646, "matcolours", "blue");
    SetObjectMaterial(lspdo5, 1, 18646, "matcolours", "blue");
    new pcarex = CreateObject(1144,0.8036000,2.2923000,0.0672000,344.0073853,0.0000000,5.0000000); //object(bntr_b_sq) (1)
    new pcarex1 = CreateObject(1144,-0.7973000,2.2920001,0.0672000,344.0039062,0.0000000,354.9987793);
    AttachObjectToVehicle(pcarex, vehicleid, 0.8036000,2.2923000,0.0672000,344.0073853,0.0000000,5.0000000);
    AttachObjectToVehicle(pcarex1, vehicleid, -0.7973000,2.2920001,0.0672000,344.0039062,0.0000000,354.9987793);
    SetObjectMaterialText(alspdo, " POLICE", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 75, 1, 0xFFFFFFFF, 0, 1);
    AttachObjectToVehicle(alspdo, vehicleid, -0.0972000,-1.9730999,0.2444000,275.5001526,0.0000000,0.0000000);
    AttachObjectToVehicle(lspdsirena, vehicleid, 0.4676000,0.3301000,0.7125000,356.0000000,0.0000000,0.0000000);
    AttachObjectToVehicle(lspdo1, vehicleid, -0.5947266,2.6767578,-0.4871000,341.4990234,0.0000000,12.7496338);
    AttachObjectToVehicle(lspdo3, vehicleid, -0.7447000,2.6440001,-0.4871000,341.4990234,0.0000000,12.7496338);
    AttachObjectToVehicle(lspdo4, vehicleid, 0.6053000,2.6768000,-0.4871000,341.4990234,0.0000000,346.7496338);
    AttachObjectToVehicle(lspdo5, vehicleid, 0.7545000,2.6418002,-0.4871000,341.4990234,0.0000000,346.7449951);
    new hsiu_text = CreateObject(2659,-1.1012001,0.0907000,-0.1102000,0.0000000,0.0000000,271.5000000);
    new hsiu_text2 = CreateObject(2659,1.1012998,0.0907000,-0.1102000,0.0000000,0.0000000,88.7496338);
    SetObjectMaterialText(hsiu_text, " LSPD", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 74, 1, 0xFFFFFFFF, 0, 1);
    SetObjectMaterialText(hsiu_text2, " LSPD", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 74, 1, 0xFFFFFFFF, 0, 1);
    AttachObjectToVehicle(hsiu_text, vehicleid, -1.1012001,0.0907000,-0.150000,0.0000000,0.0000000,271.5000000);
    AttachObjectToVehicle(hsiu_text2, vehicleid, 1.1013298,0.0907000,-0.150000,0.0000000,0.0000000,88.7496338);
}
And place it at the end of your script.

Now you can use the function: LSPDizeInfernus(vehicleid)
So if you want to use it as a command do:
pawn Код:
CMD:tuneinfernus(playerid, params[])
{
LSPDizeInfernus(GetPlayerVehicleID(playerid));
return 1;
}
Reply
#10

Quote:
Originally Posted by knackworst
Посмотреть сообщение
Copy the stock code
pawn Код:
stock LSPDizeInfernus(vehicleid)
{
    new alspdo = CreateObject(2286,-0.0972000,-1.9730999,0.2444000,275.5001526,0.0000000,0.0000000);
    SetObjectMaterial(alspdo, 1, 0, "none", "none");
    new lspdsirena = CreateObject(18646,0.4676000,0.3301000,0.7125000,356.0000000,0.0000000,0.0000000);
    new lspdo1 = CreateObject(19280, -0.5947266,2.6767578,-0.4871000,341.4990234,0.0000000,12.7496338);
    new lspdo3 = CreateObject(19280, -0.7447000,2.6440001,-0.4871000,341.4990234,0.0000000,12.7496338);
    new lspdo4 = CreateObject(19280, 0.6053000,2.6768000,-0.4871000,341.4990234,0.0000000,346.7496338);
    new lspdo5 = CreateObject(19280, 0.7545000,2.6418002,-0.4871000,341.4990234,0.0000000,346.7449951);
    SetObjectMaterial(lspdo1, 1, 18646, "matcolours", "red");
    SetObjectMaterial(lspdo3, 1, 18646, "matcolours", "red");
    SetObjectMaterial(lspdo4, 1, 18646, "matcolours", "blue");
    SetObjectMaterial(lspdo5, 1, 18646, "matcolours", "blue");
    new pcarex = CreateObject(1144,0.8036000,2.2923000,0.0672000,344.0073853,0.0000000,5.0000000); //object(bntr_b_sq) (1)
    new pcarex1 = CreateObject(1144,-0.7973000,2.2920001,0.0672000,344.0039062,0.0000000,354.9987793);
    AttachObjectToVehicle(pcarex, vehicleid, 0.8036000,2.2923000,0.0672000,344.0073853,0.0000000,5.0000000);
    AttachObjectToVehicle(pcarex1, vehicleid, -0.7973000,2.2920001,0.0672000,344.0039062,0.0000000,354.9987793);
    SetObjectMaterialText(alspdo, " POLICE", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 75, 1, 0xFFFFFFFF, 0, 1);
    AttachObjectToVehicle(alspdo, vehicleid, -0.0972000,-1.9730999,0.2444000,275.5001526,0.0000000,0.0000000);
    AttachObjectToVehicle(lspdsirena, vehicleid, 0.4676000,0.3301000,0.7125000,356.0000000,0.0000000,0.0000000);
    AttachObjectToVehicle(lspdo1, vehicleid, -0.5947266,2.6767578,-0.4871000,341.4990234,0.0000000,12.7496338);
    AttachObjectToVehicle(lspdo3, vehicleid, -0.7447000,2.6440001,-0.4871000,341.4990234,0.0000000,12.7496338);
    AttachObjectToVehicle(lspdo4, vehicleid, 0.6053000,2.6768000,-0.4871000,341.4990234,0.0000000,346.7496338);
    AttachObjectToVehicle(lspdo5, vehicleid, 0.7545000,2.6418002,-0.4871000,341.4990234,0.0000000,346.7449951);
    new hsiu_text = CreateObject(2659,-1.1012001,0.0907000,-0.1102000,0.0000000,0.0000000,271.5000000);
    new hsiu_text2 = CreateObject(2659,1.1012998,0.0907000,-0.1102000,0.0000000,0.0000000,88.7496338);
    SetObjectMaterialText(hsiu_text, " LSPD", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 74, 1, 0xFFFFFFFF, 0, 1);
    SetObjectMaterialText(hsiu_text2, " LSPD", 0, OBJECT_MATERIAL_SIZE_256x128, "Arial", 74, 1, 0xFFFFFFFF, 0, 1);
    AttachObjectToVehicle(hsiu_text, vehicleid, -1.1012001,0.0907000,-0.150000,0.0000000,0.0000000,271.5000000);
    AttachObjectToVehicle(hsiu_text2, vehicleid, 1.1013298,0.0907000,-0.150000,0.0000000,0.0000000,88.7496338);
}
And place it at the end of your script.

Now you can use the function: LSPDizeInfernus(vehicleid)
So if you want to use it as a command do:
pawn Код:
CMD:tuneinfernus(playerid, params[])
{
LSPDizeInfernus(GetPlayerVehicleID(playerid));
return 1;
}
Well thanks you!
But! Em...
What is comand to remove ?
+rep man!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)