Auto Show. [ Help Me ] -
Код:
// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
#define COLOR_RED 0xFF0000FF
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" Lavasur by You");
print("----------------------------------\n");
}
#endif
public OnGameModeInit()
{
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerText(playerid, text[])
{
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/aklvs", cmdtext, true, 10) == 0)
{
if(GetPlayerWeapon(playerid) == 31)
{
PlayerPlaySound(playerid,1054,0.0,0.0,0.0),
SetPlayerAttachedObject( playerid, 0, 18985, 6, 0.208572, 0.011936, 0.115097, 0.000000, 356.756256, 264.491577, -0.004781, 0.003322, 0.004918 ); // Tube100m6 - lava
SetPlayerAttachedObject( playerid, 1, 368, 6, -0.009579, 0.111870, 0.075496, 325.800811, 357.600158, 260.129425, 0.854319, 1.025863, 0.957438 ); // nvgoggles - tr
SetPlayerAttachedObject( playerid, 2, 18985, 6, 0.198495, 0.051748, 0.174912, 0.000000, 356.173889, 264.485900, 0.002051, 0.003549, -0.002005 ); // Tube100m6 - trieu 1
SetPlayerAttachedObject( playerid, 3, 368, 6, 0.323803, 0.090327, 0.099711, 330.968261, 356.445373, 262.663360, 1.000000, 0.871584, 1.021172 ); // nvgoggles - hlw2
}
else SendClientMessage(playerid, -1, "ban khфng cу Ak de cу the kнch hoat lavasur.");
return 1;
}
if (strcmp("/mp5lvs", cmdtext, true, 10) == 0)
{
if(GetPlayerWeapon(playerid) == 29)
{
PlayerPlaySound(playerid,1054,0.0,0.0,0.0),
SetPlayerAttachedObject( playerid, 0, 18985, 6, 0.318975, -0.008483, 0.181845, 0.000000, 352.013732, 263.630126, 0.004601, 0.001386, -0.005849 ); // Tube100m6 - mp5
SetPlayerAttachedObject( playerid, 1, 18985, 6, 0.442323, -0.025080, 0.183721, 0.000000, 352.320556, 263.630126, 0.002772, 0.000774, -0.002813 ); // Tube100m6 - lava2
SetPlayerAttachedObject( playerid, 2, 358, 6, 0.059667, -0.005199, 0.078409, 0.000000, 6.332718, 3.743581, 0.419900, 0.767965, 1.142468 ); // sniper - lava3
SetPlayerAttachedObject( playerid, 3, 367, 6, 0.157958, -0.046381, 0.062931, 355.695983, 356.709167, 349.756835, 0.491637, 0.465596, 0.687817 ); // camera - lave4
}
else SendClientMessage(playerid, -1, "ban khфng cу MP5 de cу the kнch hoat lavasur.");
return 1;
}
if (strcmp("/delvs", cmdtext, true, 10) == 0)
{
if(GetPlayerWeapon(playerid) == 24)
{
PlayerPlaySound(playerid,1054,0.0,0.0,0.0),
SetPlayerAttachedObject( playerid, 0, 18985, 6, 0.245925, 0.014667, 0.070276, 0.000000, 0.131152, 87.561119, -0.001524, 0.001198, 0.005293 ); // Tube100m6 - lavamis
SetPlayerAttachedObject( playerid, 1, 18985, 6, 0.251697, 0.018061, 0.086998, 0.000000, 0.409060, 267.754333, 0.004139, 0.001976, -0.003660 ); // Tube100m6 - lava
SetPlayerAttachedObject( playerid, 2, 14637, 6, 0.047138, 0.027291, 0.099202, 0.000000, 316.226989, 358.025848, 0.030528, -0.002446, 0.032999 ); // triad_dragon - lavadeagle
}
else SendClientMessage(playerid, -1, "ban khфng cу D.e de cу the kнch hoat lavasur.");
return 1;
}
if (strcmp("/m4lvs", cmdtext, true, 10) == 0)
{
if(GetPlayerWeapon(playerid) == 30)
{
PlayerPlaySound(playerid,1054,0.0,0.0,0.0),
SetPlayerAttachedObject( playerid, 0, 18985, 6, 0.430438, -0.014947, 0.100456, 0.000000, 357.799072, 264.803497, 0.006716, 0.002835, -0.005571 ); // Tube100m6 - lava
SetPlayerAttachedObject( playerid, 1, 18985, 6, 0.430438, -0.014947, 0.100456, 0.000000, 357.799072, 264.803497, 0.006716, 0.002835, -0.005571 ); // Tube100m6 - lava
SetPlayerAttachedObject( playerid, 2, 1376, 6, 0.631979, -0.037373, 0.303215, 181.761932, 0.877916, 276.268981, 0.005881, 0.010343, 0.022795 ); // ContainerCrane_03 - aim
SetPlayerAttachedObject( playerid, 3, 954, 6, 0.156298, 0.009570, 0.118985, 359.423034, 355.194702, 354.877075, 0.556446, 0.264451, 0.194002 ); // cj_horse_Shoe - lava3
SetPlayerAttachedObject( playerid, 4, 1952, 6, 0.298295, -0.010150, 0.176862, 267.955688, 5.155966, 292.715606, 1.000000, 0.969592, 1.198234 ); // turn_arm_R - micro
}
else SendClientMessage(playerid, -1, "ban khфng cу M4 de cу the kнch hoat lavasur.");
return 1;
}
if (strcmp("/sniperpsg", cmdtext, true, 10) == 0)
{
if(GetPlayerWeapon(playerid) == 34)
{
PlayerPlaySound(playerid,1054,0.0,0.0,0.0),
SetPlayerAttachedObject( playerid, 0, 2040, 6, 0.344150, 0.000000, 0.061512, 0.000000, 353.342010, 354.093719, 0.597730, 0.118554, 0.363161 ); // AMMO_BOX_M1 - ammo
SetPlayerAttachedObject( playerid, 3, 1952, 6, 0.715079, -0.013050, 0.111205, 146.406173, 91.272239, 1.252667, 1.000000, 1.000000, 1.000000 ); // turn_arm_R - hold
SetPlayerAttachedObject( playerid, 1, 1952, 6, 0.729267, -0.061968, 0.109738, 39.288944, 263.482940, 3.234874, 1.000000, 1.000000, 1.000000 ); // turn_arm_R - trieu
SetPlayerAttachedObject( playerid, 2, 2036, 6, 0.425780, -0.006269, 0.091351, 90.593017, 354.375518, 6.176280, 1.350934, 1.033612, 0.897487 ); // CJ_psg1 - sniper scout
}
else SendClientMessage(playerid, -1, "ban khфng cу Sniper de kнch hoat PSG.");
return 1;
}
return 0;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
return 1;
}
public OnRconCommand(cmd[])
{
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
return 1;
}
public OnObjectMoved(objectid)
{
return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}
public OnPlayerExitedMenu(playerid)
{
return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
return 1;
}
public OnPlayerUpdate(playerid)
{
return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}