Karneval hat begonnen, ich präsentiere:
Nicht von mir, sondern gefunden
PAWN Code:
Code
//top of script
new dft30ex[MAX_PLAYERS][24];
//OnPlayerCommandText
if (strcmp("/wagen", cmdtext, true, 10) == 0)
{
if(GetVehicleModel(GetPlayerVehicleID(playerid)) != 578) return SendClientMessage(playerid,0x00FF00AA,"Use only a DFT-30");
if(dft30ex[playerid][23]==0)
{
// Maxtorcd55 eXa-team
dft30ex[playerid][0] = CreateObject(2395,1.3730000,2.4650000,19.6170000,0.0000000,0.0000000,180.0000000); //object(cj_sports_wall) (1)
dft30ex[playerid][1] = CreateObject(3093,-1.8290000,1.0170000,20.9560000,0.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (1)
dft30ex[playerid][2] = CreateObject(3093,-1.8290000,-0.3800000,19.5850000,90.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (2)
dft30ex[playerid][3] = CreateObject(3093,-1.8300000,-5.8080000,20.9560000,0.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (3)
dft30ex[playerid][4] = CreateObject(3093,-1.8280000,-3.1770000,19.5850000,90.0000000,0.0000000,0.0000000); //object(cuntgirldoor) (4)
dft30ex[playerid][5] = CreateObject(3093,1.8200000,2.3940000,20.9560000,0.0000000,0.0000000,180.0000000); //object(cuntgirldoor) (5)
dft30ex[playerid][6] = CreateObject(2395,-1.3580000,-5.8810000,19.6290000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (5)
dft30ex[playerid][7] = CreateObject(3093,1.8130000,-3.1820000,19.5850000,90.0000000,0.0000000,180.0000000); //object(cuntgirldoor) (7)
dft30ex[playerid][8] = CreateObject(3093,1.8330000,-4.4290000,20.9560000,0.0000000,0.0000000,179.9950000); //object(cuntgirldoor) (8)
dft30ex[playerid][9] = CreateObject(3093,1.8190000,-0.4340000,20.9560000,0.0000000,0.0000000,179.9950000); //object(cuntgirldoor) (9)
dft30ex[playerid][10] = CreateObject(2395,1.3900000,-5.6670000,19.5830000,0.0000000,0.0000000,180.0000000); //object(cj_sports_wall) (6)
dft30ex[playerid][11] = CreateObject(2395,-1.3700000,2.2710000,19.5830000,0.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (7)
dft30ex[playerid][12] = CreateObject(2395,-1.3850000,-0.3960000,19.7820000,270.0000000,180.0000000,180.0000000); //object(cj_sports_wall) (8)
dft30ex[playerid][13] = CreateObject(2395,-1.3850000,-3.1300000,19.7820000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (9)
dft30ex[playerid][14] = CreateObject(2395,-1.3850000,-5.8690000,19.7820000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (10)
dft30ex[playerid][15] = CreateObject(2395,-1.3850000,-0.3460000,22.4160000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (11)
dft30ex[playerid][16] = CreateObject(2395,-1.3850000,-3.0830000,22.4160000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (12)
dft30ex[playerid][17] = CreateObject(2395,-1.3850000,-5.8220000,22.4160000,270.0000000,179.9950000,179.9950000); //object(cj_sports_wall) (13)
dft30ex[playerid][18] = CreateObject(2395,-1.3850000,2.4240000,22.2030000,90.0000000,180.0000000,180.0000000); //object(cj_sports_wall) (14)
dft30ex[playerid][19] = CreateObject(2395,-1.3850000,-0.3130000,22.2030000,90.0000000,180.0000000,179.9950000); //object(cj_sports_wall) (15)
dft30ex[playerid][20] = CreateObject(2395,-1.3850000,-3.0520000,22.2030000,90.0000000,180.0000000,179.9950000); //object(cj_sports_wall) (16)
dft30ex[playerid][21] = CreateObject(1656,2.2480000,0.3930000,19.2800000,0.0000000,0.0000000,270.0000000); //object(esc_step) (1)
dft30ex[playerid][22] = CreateObject(1656,1.8920000,0.3930000,19.5090000,0.0000000,0.0000000,270.0000000); //object(esc_step) (2)
dft30ex[playerid][23] = 1;
for(new i; i<22+1; i++)
{
new Float:x, Float:y, Float:z;
GetObjectPos(dft30ex[playerid][i], x, y, z);
new Float:RotX,Float:RotY,Float:RotZ;
GetObjectRot(dft30ex[playerid][i], RotX, RotY, RotZ);
new vehicleid = GetPlayerVehicleID(playerid);
AttachObjectToVehicle(dft30ex[playerid][i], vehicleid, x, y, z-20, RotX,RotY, RotZ);
}
}
else
{
dft30ex[playerid][23] = 0;
for(new i; i<22+1; i++)
{
DestroyObject(dft30ex[playerid][i]);
}
}
return 1;
}
Alles anzeigen
(c) maxtorcd55