[FilterScript] Spawn Civil (Attach3DTextLabelToVehicle,vehicle,object)
#1

In this filterscript created a civilian spawn with Attach3DTextLabelToVehicle
I hope you will like
Code.
PHP код:
#include <a_samp>
#include <streamer>
new masinaspawn1;
new 
masinaspawn2;
new 
masinaspawn3;
new 
masinaspawn4;
new 
masinaspawn5;
new 
masinaspawn6;
new 
masinaspawn7;
new 
masinaspawn8;
new 
masinaspawn9;
new 
masinaspawn10;
new 
masinaspawn11;
new 
masinaspawn12;
new 
masinaspawn13;
new 
masinaspawn14;
new 
masinaspawn15;
new 
masinaspawn16;
new 
masinaspawn17;
#pragma unused masinaspawn17
new Text3D:vehicle3Dtext[MAX_VEHICLES],vehicle_id;
public 
OnGameModeInit()
{
    
CreateDynamicObject(2755,328.9800000,-1510.0000000,36.6400000,0.0000000,0.0000000,51.2400000); //
    
CreateDynamicObject(2755,330.9700000,-1507.7400000,36.6400000,0.0000000,0.0000000,48.6000000); //
    
CreateDynamicObject(2755,327.1400000,-1512.4100000,36.6400000,0.0000000,0.0000000,51.2400000); //
    
CreateDynamicObject(2755,325.1600000,-1514.8000000,36.6400000,0.0000000,0.0000000,51.2400000); //
    
CreateDynamicObject(2755,323.2900000,-1517.1600000,36.6400000,0.0000000,0.0000000,51.2400000); //
    
CreateDynamicObject(2755,321.5600000,-1519.5800000,36.6400000,0.0000000,0.0000000,58.2600000); //
    
CreateDynamicObject(2755,320.0400000,-1522.2300000,36.6400000,0.0000000,0.0000000,58.2600000); //
    
CreateDynamicObject(2755,318.4700000,-1524.8100000,36.6400000,0.0000000,0.0000000,58.2600000); //
    
CreateDynamicObject(2755,333.2100000,-1505.6200000,36.6400000,0.0000000,0.0000000,43.6800000); //
    
CreateDynamicObject(2755,335.4500000,-1503.5400000,36.6400000,0.0000000,0.0000000,43.6800000); //
    
CreateDynamicObject(3877,342.7000000,-1514.7700000,33.9600000,0.0000000,0.0000000,0.0000000); //
    
CreateDynamicObject(3877,349.4400000,-1507.2000000,32.4300000,0.0000000,0.0000000,0.0000000); //
    
CreateDynamicObject(3877,331.0700000,-1531.0300000,33.4600000,0.0000000,0.0000000,0.0000000); //
    
CreateDynamicObject(3877,325.1600000,-1539.7200000,32.6500000,0.0000000,0.0000000,0.0000000); //
    
CreateDynamicObject(3877,327.8500000,-1524.7100000,34.5600000,0.0000000,0.0000000,0.0000000); //
    
CreateDynamicObject(3877,338.2100000,-1511.8100000,34.5600000,0.0000000,0.0000000,0.0000000); //
    
masinaspawn1 AddStaticVehicle(471323.9897, -1544.477232.5687, -119.460011);//ATW
    
masinaspawn2 AddStaticVehicle(471322.7121, -1546.615632.5687, -109.380011);//ATW
    
masinaspawn3 AddStaticVehicle(471321.6949, -1548.878832.5687, -109.380011);//ATW
    
masinaspawn4 AddStaticVehicle(471320.7823, -1551.192132.5687, -109.380011);//ATW
    
masinaspawn5 AddStaticVehicle(471319.7096, -1553.636232.5687, -109.380011);//ATW
    
masinaspawn6 AddStaticVehicle(411354.2966, -1506.690132.6751, -79.200011);//INFERNUS
    
masinaspawn7 AddStaticVehicle(566372.1708, -1525.203533.06700.000011);//TAHOMA
    
masinaspawn8 AddStaticVehicle(566367.0481, -1530.705333.06700.000011);//TAHOMA
    
masinaspawn9 AddStaticVehicle(560352.5932, -1549.882832.93990.000011);//SULTAN
    
masinaspawn10 AddStaticVehicle(560347.8276, -1556.119332.63480.000011);//SULTAN
    
masinaspawn11 AddStaticVehicle(468342.3645, -1499.019335.5884, -139.979911);//SANCHEZ
    
masinaspawn12 AddStaticVehicle(468343.7974, -1498.026735.5884, -139.979911);//SANCHEZ
    
masinaspawn13 AddStaticVehicle(468345.0550, -1496.943835.5884, -139.979911);//SANCHEZ
    
masinaspawn14 AddStaticVehicle(468346.3426, -1496.011235.5884, -139.979911);//SANCHEZ
    
masinaspawn15 AddStaticVehicle(468347.6156, -1494.969535.5884, -139.979911);//SANCHEZ
    
masinaspawn16 AddStaticVehicle(468348.7166, -1494.012135.5884, -139.979911);//SANCHEZ
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn10.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn20.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn30.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn40.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn50.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn60.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn70.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn80.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn90.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn100.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn110.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn120.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn130.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn140.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn150.00.02.0);
    
vehicle3Dtextvehicle_id ] = Create3DTextLabel"~Spawn Civil Vehicle~"0xFF0000AA0.00.00.050.00);
    
Attach3DTextLabelToVehiclevehicle3Dtextvehicle_id ] , masinaspawn160.00.02.0);
      return 
1;

Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)