hunter detection

This commit is contained in:
Lorenc 2017-10-08 13:40:03 +11:00
parent 3214ec444a
commit 99c32249ec
5 changed files with 1933 additions and 1649 deletions

View File

@ -235,6 +235,81 @@ public OnFilterScriptInit()
CreateDynamicObject( 3525, -2172.260498, 678.623962, 56.000564, 0.000000, 0.000000, -90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 3524, -2171.008789, 679.974731, 55.750846, 40.799999, 0.000000, -90.000000 ), 1, 13691, "bevcunto2_lahills", "Bow_Abattoir_Floor_Clean", 1 );
CreateDynamicObject( 19313, -2239.609619, 639.253356, 57.070228, 0.000000, 0.000000, 90.000000 );
// Veloxity Air HQ
CreateDynamicObject( 3657, -1752.881103, 42.131225, 866.188354, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 19940, -1753.343872, 53.019714, 866.792724, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 371, -1753.390014, 52.331176, 866.982055, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 371, -1753.390014, 52.831176, 866.982055, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 371, -1753.390014, 53.331176, 866.982055, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 371, -1753.390014, 53.711059, 866.982055, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 3657, -1752.881103, 45.801452, 866.188354, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 3657, -1752.881103, 49.461486, 866.188354, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 3657, -1744.569213, 42.131225, 866.188354, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 18697, -1748.231201, 87.649597, 856.163818, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3657, -1744.569213, 45.801208, 866.188354, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 3657, -1744.569213, 49.491149, 866.188354, 0.000000, 90.000000, -90.000000 );
CreateDynamicObject( 2944, -1743.987548, 17.850097, 867.583374, 0.000000, -16.500005, 0.000000 );
CreateDynamicObject( 11710, -1746.681518, 8.058653, 868.228515, -1.099997, 0.000000, 0.000000 );
CreateDynamicObject( 11711, -1744.530395, 17.125427, 868.986572, -25.799999, 1.399999, 90.499992 );
CreateDynamicObject( 19294, -1752.768310, 18.358337, 869.185058, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 14553, -1748.707397, 36.354980, 867.578002, 12.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19294, -1752.768310, 12.407591, 869.185058, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 19294, -1744.568115, 35.149047, 868.904785, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1893, -1748.705932, 41.757507, 870.326538, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 59.857177, 869.946533, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 39.716979, 870.326538, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 35.766906, 870.326538, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 33.597290, 870.326538, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 29.657226, 870.506469, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 27.497070, 870.506469, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 23.636962, 870.606445, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 21.466978, 870.606445, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 17.396972, 870.746459, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 15.466856, 870.746459, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 11.406921, 870.746459, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 9.616760, 870.746459, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 45.866821, 870.126464, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 47.876647, 870.126464, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 51.766662, 870.126464, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 53.806762, 870.066528, 0.000000, 0.000000, 90.000000 );
CreateDynamicObject( 1893, -1748.705932, 57.896850, 870.066528, 0.000000, 0.000000, 90.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19428, -1745.379638, 38.181579, 865.041870, 90.000000, 0.000000, 90.000000 ), 0, 16150, "ufo_bar", "black32", -16 );
CreateDynamicObject( 19294, -1744.568115, 46.779418, 868.904785, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1747.041625, 28.445190, 864.273437, -0.999997, 0.000000, 0.000000 ), 0, 16150, "ufo_bar", "black32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1747.041625, 33.375366, 864.186401, -0.999997, 0.000000, 0.000000 ), 0, 16150, "ufo_bar", "black32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1750.322265, 33.375366, 864.186401, -0.999997, 0.000000, 0.000000 ), 0, 16150, "ufo_bar", "black32", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19454, -1750.322265, 28.376953, 864.273193, -0.999997, 0.000000, 0.000000 ), 0, 16150, "ufo_bar", "black32", -16 );
CreateDynamicObject( 1620, -1748.630737, 5.240172, 869.275268, 0.000000, -90.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 19428, -1751.979614, 38.190734, 865.031860, 90.000000, 0.000000, 90.000000 ), 0, 16150, "ufo_bar", "black32", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 1437, -1748.649169, 4.655700, 867.551757, 10.000000, 0.000000, 0.000000 ), 0, 17001, "factorycuntw", "ladder64", -16 );
SetDynamicObjectMaterial( CreateDynamicObject( 19428, -1745.379638, 23.581176, 865.301879, 90.000000, 0.000000, 90.000000 ), 0, 16150, "ufo_bar", "black32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19428, -1745.379638, 30.811462, 865.171875, 90.000000, 0.000000, 90.000000 ), 0, 16150, "ufo_bar", "black32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19325, -1747.620361, 4.547973, 868.335205, 0.000000, 0.000000, 90.000000 ), 0, 3068, "cargo_rear", "cargo_wall2", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19428, -1751.979614, 23.610900, 865.271972, 90.000000, 0.000000, 90.000000 ), 0, 16150, "ufo_bar", "black32", 0 );
SetDynamicObjectMaterial( CreateDynamicObject( 19428, -1751.979614, 30.740783, 865.171875, 90.000000, 0.000000, 90.000000 ), 0, 16150, "ufo_bar", "black32", 0 );
CreateDynamicObject( 3387, -1753.195678, 15.668762, 866.154052, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3388, -1753.195678, 14.679260, 866.154052, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3787, -1752.072509, 9.608337, 866.793457, 0.000000, 0.000000, 117.200004 );
SetDynamicObjectMaterial( CreateDynamicObject( 14548, -1748.707397, 38.092163, 867.824218, 12.000000, 0.000000, 0.000000 ), 4, 3564, "dockcargo2_las", "lastrk6", -16 );
CreateDynamicObject( 2977, -1752.782958, 11.756224, 866.092651, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 2978, -1752.651123, 12.557373, 866.731201, -53.599994, 0.000000, 0.000000 );
CreateDynamicObject( 3280, -1744.903564, 9.257933, 866.327392, -1.100000, 0.000000, 0.000000 );
CreateDynamicObject( 3280, -1744.943603, 9.257933, 866.329345, -1.100000, 0.000000, 0.000000 );
CreateDynamicObject( 11729, -1744.404541, 10.773863, 866.143676, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 11729, -1744.404541, 11.443724, 866.143676, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 11730, -1744.404541, 12.103636, 866.143676, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 11729, -1744.404541, 12.783752, 866.143676, 0.000000, 0.000000, -90.000000 );
CreateDynamicObject( 2035, -1745.027954, 12.310301, 866.835693, 0.000000, 101.500007, 0.000000 );
CreateDynamicObject( 1271, -1744.632080, 13.643248, 866.616333, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1271, -1744.632080, 14.573730, 866.616333, 0.000000, 0.000000, 28.299997 );
CreateDynamicObject( 1271, -1744.632080, 14.273497, 867.286621, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 3387, -1753.195678, 16.659057, 866.154052, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1685, -1744.872192, 53.223571, 866.292968, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1685, -1744.967285, 55.296936, 866.292968, 0.000000, 0.000000, 36.300003 );
CreateDynamicObject( 1685, -1752.553588, 59.633178, 866.292968, 0.000000, 0.000000, 0.000000 );
CreateDynamicObject( 1685, -1752.472534, 57.522521, 866.292968, 0.000000, 0.000000, 0.000000 );
SetDynamicObjectMaterial( CreateDynamicObject( 18762, -1748.673706, 4.254638, 867.267089, 0.000000, 0.000000, 0.000000 ), 0, 10631, "queensammo_sfs", "ammu_gunboard3", 1 );
return 1;
}

File diff suppressed because it is too large Load Diff

View File

@ -33,6 +33,15 @@
public OnPlayerTakePlayerDamage ( playerid, issuerid, &Float: amount, weaponid, bodypart );
public OnPlayerDeathEx ( playerid, killerid, reason, Float: damage, bodypart );
// Function (AC_UpdateKillerData)
stock AC_UpdateDamageInformation( playerid, attackerid, weaponid )
{
p_LastTookDamage[ playerid ] = GetTickCount( );
p_LastDamageIssuer[ playerid ] = attackerid;
p_LastWeaponIssuer[ playerid ] = weaponid;
}
// Function (AC_GetPlayerHealth)
stock Float: AC_GetPlayerHealth( playerid )

File diff suppressed because it is too large Load Diff

View File

@ -14,7 +14,7 @@ incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins mysql crashdetect sscanf streamer Whirlpool regex gvar FileManager profiler FCNPC mapandreas RouteConnectorPlugin sampac
plugins mysql crashdetect sscanf streamer Whirlpool regex gvar FileManager profiler FCNPC mapandreas RouteConnectorPlugin sampac discord-connector
maxnpc 200
logtimeformat [%H:%M:%S]
language All
@ -22,3 +22,4 @@ profiler_gamemodes sf-cnr
profiler_outputformat html
messageslimit 10000
messageholelimit 30000
discord_bot_token MzExNTMzMzA5MTE5NDMwNjU3.DLTFyA.gXpB_iofJXmcRnaw7fxUusECHjY