Kod: Tümünü seç
new xs__ITaskId = 99;
new xs__ITaskParam[1033] =
{
99, 108, 97, 115, 115, 110, 97, 109, 101, 0, 116, 97, 114, 103, 101, 116, 0, 116, 97, 114, 103, 101, 116, 110, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 0, 97, 109, 109, 111, 95, 0, 105, 116, 101, 109, 95, 0, 116, 102, 95, 119, 101, 97, 112, 111, 110, 95, 0, 72, 97, 109, 70, 105, 108, 116, 101, 114, 0, 20, 108, 196, 296, 404, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 45, 49, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 45, 50, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 100, 114, 97, 119, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 105, 110, 115, 101, 114, 116, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 99, 104, 97, 114, 103, 101, 46, 119, 97, 118, 0, 16, 168, 332, 476, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 102, 108, 97, 109, 101, 95, 112, 117, 102, 102, 48, 49, 46, 115, 112, 114, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 46, 116, 120, 116, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 54, 52, 48, 104, 117, 100, 56, 57, 95, 50, 46, 115, 112, 114, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 54, 52, 48, 104, 117, 100, 51, 95, 50, 46, 115, 112, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 66, 97, 108, 114, 111, 103, 45, 88, 73, 0, 50, 46, 48, 0, 68, 105, 97, 115, 0, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 69, 118, 101, 110, 116, 95, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 98, 101, 0, 49, 61, 49, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 102, 119, 95, 84, 104, 105, 110, 107, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 42, 0, 102, 119, 95, 84, 111, 117, 99, 104, 0, 102, 119, 95, 67, 109, 100, 83, 116, 97, 114, 116, 0, 102, 119, 95, 83, 101, 116, 77, 111, 100, 101, 108, 0, 102, 119, 95, 85, 112, 100, 97, 116, 101, 67, 108, 105, 101, 110, 116, 68, 97, 116, 97, 95, 80, 111, 115, 116, 0, 102, 119, 95, 80, 108, 97, 121, 98, 97, 99, 107, 69, 118, 101, 110, 116, 0, 112, 108, 97, 121, 101, 114, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 119, 111, 114, 108, 100, 115, 112, 97, 119, 110, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 65, 100, 100, 84, 111, 80, 108, 97, 121, 101, 114, 95, 80, 111, 115, 116, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 80, 111, 115, 116, 70, 114, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 68, 101, 112, 108, 111, 121, 95, 80, 111, 115, 116, 0, 83, 116, 97, 116, 117, 115, 73, 99, 111, 110, 0, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 0, 104, 111, 111, 107, 95, 119, 101, 97, 112, 111, 110, 0, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 118, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 112, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 102, 119, 95, 80, 114, 101, 99, 97, 99, 104, 101, 69, 118, 101, 110, 116, 95, 80, 111, 115, 116, 0, 115, 112, 114, 105, 116, 101, 115, 47, 119, 97, 108, 108, 95, 112, 117, 102, 102, 49, 46, 115, 112, 114, 0, 103, 105, 118, 101, 95
};
new xs__TaskFlags[5] =
{
99, 108, 97, 115, 115
};
new xs__TaskFunc[48] =
{
99, 108, 97, 115, 115, 110, 97, 109, 101, 0, 116, 97, 114, 103, 101, 116, 0, 116, 97, 114, 103, 101, 116, 110, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 0, 97, 109, 109, 111, 95, 0, 105, 116, 101, 109, 95, 0
};
new xs__TaskId = 99;
new Float:xs__TaskInterval = 99;
new xs__TaskParam[1033] =
{
99, 108, 97, 115, 115, 110, 97, 109, 101, 0, 116, 97, 114, 103, 101, 116, 0, 116, 97, 114, 103, 101, 116, 110, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 0, 97, 109, 109, 111, 95, 0, 105, 116, 101, 109, 95, 0, 116, 102, 95, 119, 101, 97, 112, 111, 110, 95, 0, 72, 97, 109, 70, 105, 108, 116, 101, 114, 0, 20, 108, 196, 296, 404, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 45, 49, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 45, 50, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 100, 114, 97, 119, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 105, 110, 115, 101, 114, 116, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 99, 104, 97, 114, 103, 101, 46, 119, 97, 118, 0, 16, 168, 332, 476, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 102, 108, 97, 109, 101, 95, 112, 117, 102, 102, 48, 49, 46, 115, 112, 114, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 46, 116, 120, 116, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 54, 52, 48, 104, 117, 100, 56, 57, 95, 50, 46, 115, 112, 114, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 54, 52, 48, 104, 117, 100, 51, 95, 50, 46, 115, 112, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 66, 97, 108, 114, 111, 103, 45, 88, 73, 0, 50, 46, 48, 0, 68, 105, 97, 115, 0, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 69, 118, 101, 110, 116, 95, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 98, 101, 0, 49, 61, 49, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 102, 119, 95, 84, 104, 105, 110, 107, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 42, 0, 102, 119, 95, 84, 111, 117, 99, 104, 0, 102, 119, 95, 67, 109, 100, 83, 116, 97, 114, 116, 0, 102, 119, 95, 83, 101, 116, 77, 111, 100, 101, 108, 0, 102, 119, 95, 85, 112, 100, 97, 116, 101, 67, 108, 105, 101, 110, 116, 68, 97, 116, 97, 95, 80, 111, 115, 116, 0, 102, 119, 95, 80, 108, 97, 121, 98, 97, 99, 107, 69, 118, 101, 110, 116, 0, 112, 108, 97, 121, 101, 114, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 119, 111, 114, 108, 100, 115, 112, 97, 119, 110, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 65, 100, 100, 84, 111, 80, 108, 97, 121, 101, 114, 95, 80, 111, 115, 116, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 80, 111, 115, 116, 70, 114, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 68, 101, 112, 108, 111, 121, 95, 80, 111, 115, 116, 0, 83, 116, 97, 116, 117, 115, 73, 99, 111, 110, 0, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 0, 104, 111, 111, 107, 95, 119, 101, 97, 112, 111, 110, 0, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 118, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 112, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 102, 119, 95, 80, 114, 101, 99, 97, 99, 104, 101, 69, 118, 101, 110, 116, 95, 80, 111, 115, 116, 0, 115, 112, 114, 105, 116, 101, 115, 47, 119, 97, 108, 108, 95, 112, 117, 102, 102, 49, 46, 115, 112, 114, 0, 103, 105, 118, 101, 95
};
new xs__TaskRepeat = 99;
new xs__global_null = 99;
new xs__internalseed = 99;
new xs__logtypenames[6][0] =
{
{
27904, ...
},
{
119, ...
},
{
0, ...
},
{
28416, ...
},
{
28160, ...
},
{
7208960, ...
}
};
new xs__maxnum = 99;
new xs__replace_buf[3072] =
{
99, 108, 97, 115, 115, 110, 97, 109, 101, 0, 116, 97, 114, 103, 101, 116, 0, 116, 97, 114, 103, 101, 116, 110, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 0, 97, 109, 109, 111, 95, 0, 105, 116, 101, 109, 95, 0, 116, 102, 95, 119, 101, 97, 112, 111, 110, 95, 0, 72, 97, 109, 70, 105, 108, 116, 101, 114, 0, 20, 108, 196, 296, 404, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 45, 49, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 45, 50, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 100, 114, 97, 119, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 105, 110, 115, 101, 114, 116, 46, 119, 97, 118, 0, 119, 101, 97, 112, 111, 110, 115, 47, 98, 97, 108, 114, 111, 103, 49, 49, 95, 99, 104, 97, 114, 103, 101, 46, 119, 97, 118, 0, 16, 168, 332, 476, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 102, 108, 97, 109, 101, 95, 112, 117, 102, 102, 48, 49, 46, 115, 112, 114, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 46, 116, 120, 116, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 54, 52, 48, 104, 117, 100, 56, 57, 95, 50, 46, 115, 112, 114, 0, 115, 112, 114, 105, 116, 101, 115, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 54, 52, 48, 104, 117, 100, 51, 95, 50, 46, 115, 112, 114, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 66, 97, 108, 114, 111, 103, 45, 88, 73, 0, 50, 46, 48, 0, 68, 105, 97, 115, 0, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 69, 118, 101, 110, 116, 95, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 98, 101, 0, 49, 61, 49, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 102, 119, 95, 84, 104, 105, 110, 107, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 42, 0, 102, 119, 95, 84, 111, 117, 99, 104, 0, 102, 119, 95, 67, 109, 100, 83, 116, 97, 114, 116, 0, 102, 119, 95, 83, 101, 116, 77, 111, 100, 101, 108, 0, 102, 119, 95, 85, 112, 100, 97, 116, 101, 67, 108, 105, 101, 110, 116, 68, 97, 116, 97, 95, 80, 111, 115, 116, 0, 102, 119, 95, 80, 108, 97, 121, 98, 97, 99, 107, 69, 118, 101, 110, 116, 0, 112, 108, 97, 121, 101, 114, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 119, 111, 114, 108, 100, 115, 112, 97, 119, 110, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 65, 100, 100, 84, 111, 80, 108, 97, 121, 101, 114, 95, 80, 111, 115, 116, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 80, 111, 115, 116, 70, 114, 97, 109, 101, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 102, 119, 95, 73, 116, 101, 109, 95, 68, 101, 112, 108, 111, 121, 95, 80, 111, 115, 116, 0, 83, 116, 97, 116, 117, 115, 73, 99, 111, 110, 0, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 0, 104, 111, 111, 107, 95, 119, 101, 97, 112, 111, 110, 0, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 118, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 112, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 102, 119, 95, 80, 114, 101, 99, 97, 99, 104, 101, 69, 118, 101, 110, 116, 95, 80, 111, 115, 116, 0, 115, 112, 114, 105, 116, 101, 115, 47, 119, 97, 108, 108, 95, 112, 117, 102, 102, 49, 46, 115, 112, 114, 0, 103, 105, 118, 101, 95, 98, 97, 108, 114, 111, 103, 49, 49, 0, 71, 101, 116, 95, 66, 97, 108, 114, 111, 103, 49, 49, 0, 100, 111, 95, 114, 101, 103, 105, 115, 116, 101, 114, 0, 0, 0, 102, 119, 95, 84, 114, 97, 99, 101, 65, 116, 116, 97, 99, 107, 0, 101, 118, 101, 110, 116, 115, 47, 120, 109, 49, 48, 49, 52, 46, 115, 99, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, 0, 0, 0, 0, 0, 0, 87, 101, 97, 112, 111, 110, 76, 105, 115, 116, 0, 0, 0, 0, 119, 101, 97, 112, 111, 110, 95, 98, 97, 108, 114, 111, 103, 49, 49, 0, 119, 101, 97, 112, 111, 110, 95, 120, 109, 49, 48, 49, 52, 0, 0, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 118, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 109, 111, 100, 101, 108, 115, 47, 80, 114, 101, 109, 117, 105, 109, 45, 90, 47, 97, 100, 109, 105, 110, 95, 119, 101, 97, 112, 111, 110, 115, 47, 112, 95, 99, 111, 105, 108, 103, 117, 110, 49, 49, 46, 109, 100, 108, 0, 0, 67, 117, 114, 87, 101, 97, 112, 111, 110, 0, 0, 0, 0, 65, 109, 109, 111, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, 117, 109, 98, 101, 114, 95, 37, 100, 0, 0, 0, 0, 67, 104, 101, 99, 107, 95, 82, 97, 100, 105, 117, 115, 68, 97, 109, 97, 103, 101, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 119, 101, 97, 112, 111, 110, 95, 107, 110, 105, 102, 101, 0, 0, 0, 0, 32, 40, 48, 56, 64, 72, 80, 88, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 101, 110, 118, 95, 115, 112, 114, 105, 116, 101, 0, 0, 0, 0, 98, 97, 108, 114, 111, 103, 49, 49, 95, 102, 105, 114, 101, 0, -1082130432, -1082130432, -1082130432, 1065353216, 1065353216, 1065353216, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
new WeaponSounds[5][0] =
{
{
119, ...
},
{
119, ...
},
{
119, ...
},
{
119, ...
},
{
119, ...
}
};
new WeaponResources[4][0] =
{
{
115, ...
},
{
115, ...
},
{
115, ...
},
{
115, ...
}
};
new g_had_balrog11[33];
new g_holding_attack[33];
new g_Shoot_Count[33];
new g_SpecialAmmo[33];
new g_old_weapon[33];
new g_event_balrog11;
new g_Msg_StatusIcon;
new g_smokepuff_id;
new g_ham_bot;
new g_MaxPlayers;
bool:operator>(Float:,Float:)(Float:oper1, Float:oper2)
{
return 0 < floatcmp(oper1, oper2);
}
bool:operator>=(Float:,Float:)(Float:oper1, Float:oper2)
{
return 0 <= floatcmp(oper1, oper2);
}
bool:operator<=(Float:,Float:)(Float:oper1, Float:oper2)
{
return 0 >= floatcmp(oper1, oper2);
}
Float:floatmin(Float:ValueA, Float:ValueB)
{
if (ValueA <= ValueB)
{
return ValueA;
}
return ValueB;
}
IVecFVec(IVec[3], Float:FVec[3])
{
FVec[0] = float(IVec[0]);
FVec[1] = float(IVec[1]);
FVec[2] = float(IVec[2]);
return 1;
}
xs_vec_add(Float:in1[], Float:in2[], Float:out[])
{
out[0] = floatadd(in1[0], in2[0]);
out[1] = floatadd(in1[1], in2[1]);
out[2] = floatadd(in1[2], in2[2]);
return 0;
}
xs_vec_sub(Float:in1[], Float:in2[], Float:out[])
{
out[0] = floatsub(in1[0], in2[0]);
out[1] = floatsub(in1[1], in2[1]);
out[2] = floatsub(in1[2], in2[2]);
return 0;
}
xs_vec_mul_scalar(Float:vec[], Float:scalar, Float:out[])
{
out[0] = floatmul(vec[0], scalar);
out[1] = floatmul(vec[1], scalar);
out[2] = floatmul(vec[2], scalar);
return 0;
}
fm_find_ent_by_owner(index, classname[], owner, jghgtype)
{
new strtype[11];
new ent = index;
switch (jghgtype)
{
case 1:
{
strtype = {116,97,114,103,101,116,0};
}
case 2:
{
strtype = {116,97,114,103,101,116,110,97,109,101,0};
}
default:
{
}
}
while ((ent = engfunc(12, ent, strtype, classname)) && owner != pev(ent, 18))
{
}
return ent;
}
fm_give_item(index, item[])
{
new var1;
if (!equal(item, "weapon_", 7) && !equal(item, "ammo_", 5) && !equal(item, "item_", 5) && !equal(item, "tf_weapon_", 10))
{
return 0;
}
new ent = engfunc(21, engfunc(43, item));
if (!pev_valid(ent))
{
return 0;
}
new Float:origin[3] = 0.0;
pev(index, 118, origin);
set_pev(ent, 118, origin);
set_pev(ent, 83, pev(ent, 83) | 1073741824);
dllfunc(1, ent);
new save = pev(ent, 70);
dllfunc(4, ent, index);
if (save != pev(ent, 70))
{
return ent;
}
engfunc(20, ent);
return -1;
}
fm_get_user_weapon_entity(id, wid)
{
new weap = wid;
new clip;
new ammo;
new var1;
if (!weap && !var2)
{
return 0;
}
new class[32];
get_weaponname(weap, class, 31);
return fm_find_ent_by_owner(-1, class, id, 0);
}
public __fatal_ham_error(Ham:id, HamError:err, reason[])
{
new func = get_func_id("HamFilter", -1);
new bool:fail = 1;
new var1;
if (func != -1 && callfunc_begin_i(func, -1) == 1)
{
callfunc_push_int(id);
callfunc_push_int(err);
callfunc_push_str(reason, xs__ITaskId);
if (callfunc_end() == 1)
{
fail = false;
}
}
if (fail)
{
set_fail_state(reason);
}
return 0;
}
public plugin_init()
{
register_plugin("Balrog-XI", "2.0", "Dias");
register_event("CurWeapon", "Event_CurWeapon", "be", "1=1");
register_think("balrog11_fire", "fw_Think");
register_touch("balrog11_fire", 2476, "fw_Touch");
register_forward(125, "fw_CmdStart", xs__ITaskId);
register_forward("", "fw_SetModel", xs__ITaskId);
register_forward(123, "fw_UpdateClientData_Post", 1);
register_forward(78, "fw_PlaybackEvent", xs__ITaskId);
RegisterHam(8, "player", "fw_TraceAttack", xs__ITaskId);
RegisterHam(8, "worldspawn", "fw_TraceAttack", xs__ITaskId);
RegisterHam(63, "weapon_xm1014", "fw_Item_AddToPlayer_Post", 1);
RegisterHam(71, "weapon_xm1014", "fw_Item_PostFrame", xs__ITaskId);
RegisterHam(66, "weapon_xm1014", "fw_Item_Deploy_Post", 1);
g_Msg_StatusIcon = get_user_msgid("StatusIcon");
g_MaxPlayers = get_maxplayers();
register_clcmd("weapon_balrog11", "hook_weapon", -1, 3552, -1);
return 0;
}
public plugin_precache()
{
engfunc(xs__ITaskId, "models/Premuim-Z/admin_weapons/v_coilgun11.mdl");
engfunc(xs__ITaskId, "models/Premuim-Z/admin_weapons/p_coilgun11.mdl");
new i;
while (i < 5)
{
engfunc(1, WeaponSounds[i]);
i++;
}
i = 0;
while (i < 4)
{
if (i == 1)
{
engfunc(57, WeaponResources[i]);
}
else
{
engfunc(xs__ITaskId, WeaponResources[i]);
}
i++;
}
register_forward(77, "fw_PrecacheEvent_Post", 1);
g_smokepuff_id = engfunc(xs__ITaskId, "sprites/wall_puff1.spr");
return 0;
}
public plugin_natives()
{
register_native("give_balrog11", "Get_Balrog11", 1);
return 0;
}
public client_putinserver(id)
{
new var1;
if (!g_ham_bot && is_user_bot(id))
{
g_ham_bot = 1;
set_task(1036831949, "do_register", id, 4268, xs__ITaskId, 4272, xs__ITaskId);
}
return 0;
}
public do_register(id)
{
RegisterHamFromEntity(8, id, "fw_TraceAttack", xs__ITaskId);
return 0;
}
public fw_PrecacheEvent_Post(type, name[])
{
if (equal("events/xm1014.sc", name, xs__ITaskId))
{
g_event_balrog11 = get_orig_retval();
}
return 0;
}
public Get_Balrog11(id)
{
g_had_balrog11[id] = 1;
g_old_weapon[id] = 0;
g_holding_attack[id] = 0;
g_Shoot_Count[id] = 0;
g_SpecialAmmo[id] = 0;
fm_give_item(id, "weapon_xm1014");
cs_set_user_bpammo(id, 5, 250);
update_ammo(id);
new var1;
if (g_SpecialAmmo[id] > 0)
{
var1 = 1;
}
else
{
var1 = 0;
}
update_specialammo(id, g_SpecialAmmo[id], var1);
return 0;
}
public Remove_Balrog11(id)
{
update_specialammo(id, g_SpecialAmmo[id], 0);
g_had_balrog11[id] = 0;
g_old_weapon[id] = 0;
g_holding_attack[id] = 0;
g_Shoot_Count[id] = 0;
g_SpecialAmmo[id] = 0;
return 0;
}
public hook_weapon(id)
{
engclient_cmd(id, "weapon_xm1014", 4516, 4520);
return 1;
}
public Event_CurWeapon(id)
{
if (!is_user_alive(id))
{
return 0;
}
new var2;
if (g_had_balrog11[id] && (get_user_weapon(id, 0, 0) == 5 && g_old_weapon[id] != 5))
{
set_weapon_anim(id, 6);
set_player_nextattack(id, 0.75);
new var3;
if (g_SpecialAmmo[id] > 0)
{
var3 = 1;
}
else
{
var3 = 0;
}
update_specialammo(id, g_SpecialAmmo[id], var3);
}
else
{
new var4;
if (get_user_weapon(id, 0, 0) != 5 && g_old_weapon[id] == 5)
{
update_specialammo(id, g_SpecialAmmo[id], 0);
}
}
g_old_weapon[id] = get_user_weapon(id, 0, 0);
return 0;
}
public fw_CmdStart(id, uc_handle, seed)
{
if (!is_user_alive(id))
{
return 0;
}
new var1;
if (get_user_weapon(id, 0, 0) == 5 && !g_had_balrog11[id])
{
return 0;
}
static NewButton;
NewButton = get_uc(uc_handle, 7);
static OldButton;
OldButton = pev(id, 98);
if (NewButton & 1)
{
if (!g_holding_attack[id])
{
g_holding_attack[id] = 1;
}
}
else
{
if (NewButton & 2048)
{
SpecialShoot_Handle(id);
}
if (OldButton & 1)
{
if (g_holding_attack[id])
{
g_holding_attack[id] = 0;
g_Shoot_Count[id] = 0;
}
}
}
return 0;
}
public fw_UpdateClientData_Post(id, sendweapons, cd_handle)
{
new var1;
if (!is_user_alive(id) || !is_user_connected(id))
{
return 1;
}
new var2;
if (get_user_weapon(id, 0, 0) == 5 && g_had_balrog11[id])
{
set_cd(cd_handle, 23, floatadd(981668463, get_gametime()));
}
return 2;
}
public fw_PlaybackEvent(flags, invoker, eventid, Float:delay, Float:origin[3], Float:angles[3], Float:fparam1, Float:fparam2, iParam1, iParam2, bParam1, bParam2)
{
if (!is_user_connected(invoker))
{
return 1;
}
new var1;
if (get_user_weapon(invoker, 0, 0) == 5 && g_had_balrog11[invoker] && g_event_balrog11 == eventid)
{
engfunc(63, flags | 16, invoker, eventid, delay, origin, angles, fparam1, fparam2, iParam1, iParam2, bParam1, bParam2);
if (g_holding_attack[invoker])
{
g_Shoot_Count[invoker]++;
}
else
{
g_Shoot_Count[invoker] = 0;
}
if (4 <= g_Shoot_Count[invoker])
{
g_Shoot_Count[invoker] = 0;
if (7 > g_SpecialAmmo[invoker])
{
update_specialammo(invoker, g_SpecialAmmo[invoker], 0);
g_SpecialAmmo[invoker]++;
update_specialammo(invoker, g_SpecialAmmo[invoker], 1);
emit_sound(invoker, "", WeaponSounds[4], 1065353216, 1061997773, xs__ITaskId, 100);
}
}
set_weapon_anim(invoker, 1);
new var2 = WeaponSounds;
emit_sound(invoker, 1, var2[0][var2], 1065353216, 1061997773, xs__ITaskId, 95);
return 4;
}
return 2;
}
public fw_Think(iEnt)
{
if (!pev_valid(iEnt))
{
return 0;
}
static Float:fScale;
static Float:fNextThink;
static Float:fFrame;
pev(iEnt, 36, fFrame);
pev(iEnt, "", fScale);
static iMoveType;
iMoveType = pev(iEnt, 69);
if (iMoveType)
{
fNextThink = 0.045;
fFrame = floatadd(fFrame, random_float(1056964608, 1065353216));
fScale = floatadd(981668463, fScale);
fFrame = floatmin(21.0, fFrame);
fScale = floatmin(1.5, fFrame);
}
else
{
fNextThink = 0.0015;
fFrame = floatadd(fFrame, random_float(1048576000, 1061158912));
fScale = floatadd(1008981770, fScale);
if (fFrame > 21.0)
{
engfunc(20, iEnt);
return 0;
}
}
set_pev(iEnt, 36, fFrame);
set_pev(iEnt, "", fScale);
set_pev(iEnt, 33, floatadd(halflife_time(), fNextThink));
static Float:fTimeRemove;
pev(iEnt, 59, fTimeRemove);
if (get_gametime() >= fTimeRemove)
{
static Float:Amount;
pev(iEnt, "target", Amount);
if (Amount <= 5.0)
{
engfunc(20, iEnt);
return 0;
}
Amount = floatsub(Amount, 1084227584);
set_pev(iEnt, "target", Amount);
}
return 0;
}
public fw_Touch(ent, id)
{
if (!pev_valid(ent))
{
return 0;
}
if (pev_valid(id))
{
static Classname[32];
pev(id, 1, Classname, 32);
if (equal(Classname, "balrog11_fire", xs__ITaskId))
{
return 0;
}
}
set_pev(ent, 69, 0);
set_pev(ent, 70, 0);
return 0;
}
public fw_TraceAttack(Ent, Attacker, Float:Damage, Float:Dir[3], ptr, DamageType)
{
if (!is_user_alive(Attacker))
{
return 1;
}
new var1;
if (get_user_weapon(Attacker, 0, 0) == 5 && !g_had_balrog11[Attacker])
{
return 1;
}
static Float:vecPlane[3];
static Float:flEnd[3];
get_tr2(ptr, 5, flEnd);
get_tr2(ptr, 7, vecPlane);
if (!is_user_alive(Ent))
{
make_bullet(Attacker, flEnd);
fake_smoke(Attacker, ptr);
}
SetHamParamFloat("", float(32));
return 2;
}
public fw_Item_AddToPlayer_Post(ent, id)
{
if (pev(ent, 82) == 1982)
{
g_had_balrog11[id] = 1;
set_pev(ent, 82, 0);
g_SpecialAmmo[id] = pev(ent, 103);
}
message_begin(8, get_user_msgid("WeaponList"), 4808, id);
new var1;
if (g_had_balrog11[id] == 1)
{
var1 = 4820;
}
else
{
var1 = 4884;
}
write_string(var1);
write_byte(5);
write_byte(32);
write_byte(-1);
write_byte(-1);
write_byte(xs__ITaskId);
write_byte(12);
write_byte(5);
write_byte(xs__ITaskId);
message_end();
return 0;
}
public fw_Item_PostFrame(ent)
{
static id;
id = fm_cs_get_weapon_ent_owner(ent);
if (!pev_valid(id))
{
return 0;
}
if (!g_had_balrog11[id])
{
return 0;
}
if (get_pdata_int(ent, 55, 4, 5) == 1)
{
set_weapon_anim(id, 3);
}
return 0;
}
public fw_Item_Deploy_Post(ent)
{
static id;
id = fm_cs_get_weapon_ent_owner(ent);
if (!pev_valid(id))
{
return 0;
}
if (!g_had_balrog11[id])
{
return 0;
}
set_pev(id, "ammo_", "models/Premuim-Z/admin_weapons/v_coilgun11.mdl");
set_pev(id, "", "models/Premuim-Z/admin_weapons/p_coilgun11.mdl");
return 0;
}
public update_ammo(id)
{
if (!is_user_alive(id))
{
return 0;
}
static weapon_ent;
weapon_ent = fm_get_user_weapon_entity(id, 5);
if (!pev_valid(weapon_ent))
{
return 0;
}
engfunc(70, 8, get_user_msgid("CurWeapon"), 5368, id);
write_byte(1);
write_byte(5);
write_byte(cs_get_weapon_ammo(weapon_ent));
message_end();
message_begin(8, get_user_msgid("AmmoX"), 4808, id);
write_byte(1);
write_byte(cs_get_user_bpammo(id, 5));
message_end();
return 0;
}
public update_specialammo(id, Ammo, On)
{
static AmmoSprites[33];
format(AmmoSprites, 33, "number_%d", Ammo);
message_begin(8, g_Msg_StatusIcon, 5576, id);
write_byte(On);
write_string(AmmoSprites);
write_byte(42);
write_byte(212);
write_byte(255);
message_end();
return 0;
}
public SpecialShoot_Handle(id)
{
if (get_pdata_float(id, 83, 5, 5) > 0)
{
return 0;
}
if (0 >= g_SpecialAmmo[id])
{
return 0;
}
create_fake_attack(id);
set_player_nextattack(id, 0.35);
set_weapons_timeidle(id, 5, 0.35);
update_specialammo(id, g_SpecialAmmo[id], 0);
g_SpecialAmmo[id]--;
new var1;
if (g_SpecialAmmo[id] > 0)
{
var1 = 1;
}
else
{
var1 = 0;
}
update_specialammo(id, g_SpecialAmmo[id], var1);
set_weapon_anim(id, 2);
emit_sound(id, 1, WeaponSounds[1], 1065353216, 1061997773, xs__ITaskId, 95);
Create_FireSystem(id, 1);
set_task(1048576000, "Check_RadiusDamage", id, 4268, xs__ITaskId, 4272, xs__ITaskId);
return 0;
}
public Check_RadiusDamage(id)
{
if (!is_user_alive(id))
{
return 0;
}
static Float:DmgMulti;
static Float:DamageMulti;
static Float:MyOrigin[3];
static Float:Origin[3];
pev(id, 118, MyOrigin);
new i;
while (i < g_MaxPlayers)
{
if (is_user_alive(i))
{
if (!(i == id))
{
pev(i, 118, Origin);
if (is_in_viewcone(id, Origin, 1))
{
if (!(entity_range(id, i) > float(600)))
{
DmgMulti = 1.1;
DamageMulti = floatdiv(entity_range(id, i), float(600));
DmgMulti = floatsub(DmgMulti, DamageMulti);
ExecuteHamB(9, i, 0, id, float(900), 8);
}
}
}
}
i++;
}
return 0;
}
public create_fake_attack(id)
{
static weapon;
weapon = fm_find_ent_by_owner(-1, "weapon_knife", id, 0);
if (pev_valid(weapon))
{
ExecuteHamB(87, weapon);
}
return 0;
}
public Create_FireSystem(id, OffSet)
{
static Float:Speed[8];
static Float:TargetOrigin[8][3];
static Float:StartOrigin[3];
new var1 = TargetOrigin;
get_position(id, 100.0, random_float(-1054867456, -1041235968), -5.0, var1[0][var1]);
Speed[0] = floatmul(1129447424, float(1));
get_position(id, 100.0, random_float(-1054867456, -1046478848), -5.0, TargetOrigin[1]);
Speed[1] = floatmul(1131413504, float(1));
get_position(id, 100.0, random_float(-1054867456, -1054867456), -5.0, TargetOrigin[2]);
Speed[2] = floatmul(1133903872, float(1));
get_position(id, 100.0, 0.0, -5.0, TargetOrigin[3]);
Speed[3] = floatmul(1128792064, float(1));
get_position(id, 100.0, 0.0, -5.0, TargetOrigin[4]);
Speed[4] = floatmul(1128792064, float(1));
get_position(id, 100.0, random_float(1092616192, 1092616192), -5.0, TargetOrigin[5]);
Speed[5] = floatmul(1125515264, float(1));
get_position(id, 100.0, random_float(1092616192, 1101004800), -5.0, TargetOrigin[6]);
Speed[6] = floatmul(1127481344, float(1));
get_position(id, 100.0, random_float(1092616192, 1106247680), -5.0, TargetOrigin[7]);
Speed[7] = floatmul(1129447424, float(1));
new i;
while (i < 8)
{
get_position(id, random_float(1106247680, 1109393408), 0.0, -5.0, StartOrigin);
Create_Fire(id, StartOrigin, TargetOrigin[i], Speed[i], OffSet);
i++;
}
return 0;
}
public Create_Fire(id, Float:Origin[3], Float:TargetOrigin[3], Float:Speed, Offset)
{
static Ent;
Ent = engfunc(21, engfunc(43, "env_sprite"));
if (!pev_valid(Ent))
{
return 0;
}
static Float:Velocity[3];
set_pev(Ent, 69, 5);
set_pev(Ent, 77, 5);
set_pev(Ent, "target", 1117126656);
set_pev(Ent, 59, floatadd(1061158912, get_gametime()));
set_pev(Ent, "", random_float(1048576000, 1061158912));
set_pev(Ent, 33, floatadd(1028443341, halflife_time()));
entity_set_string(Ent, xs__ITaskId, "balrog11_fire");
new var1 = WeaponResources;
engfunc(2, Ent, var1[0][var1]);
set_pev(Ent, 131, 6040);
set_pev(Ent, 132, 6052);
set_pev(Ent, 118, Origin);
set_pev(Ent, 34, 1008981770);
set_pev(Ent, 70, 1);
set_pev(Ent, 36, 0);
set_pev(Ent, 18, id);
set_pev(Ent, 103, Offset);
get_speed_vector(Origin, TargetOrigin, floatmul(1077936128, Speed), Velocity);
set_pev(Ent, 120, Velocity);
return 0;
}
make_bullet(id, Float:Origin[3])
{
new decal = random_num(41, 45);
static Target;
static Body;
get_user_aiming(id, Target, Body, 999999);
if (is_user_connected(Target))
{
return 0;
}
new i;
while (i < 2)
{
message_begin(xs__ITaskId, 23, 4808, xs__ITaskId);
write_byte(116);
engfunc(71, Origin);
engfunc(71, Origin[1]);
engfunc(71, Origin[2]);
write_byte(decal);
message_end();
message_begin(xs__ITaskId, 23, 4808, xs__ITaskId);
write_byte(109);
engfunc(71, Origin);
engfunc(71, Origin[1]);
engfunc(71, Origin[2]);
write_short(id);
write_byte(decal);
message_end();
i++;
}
return 0;
}
fake_smoke(id, trace_result)
{
static TE_FLAG;
static Float:vecEnd[3];
static Float:vecSrc[3];
get_weapon_attachment(id, vecSrc, 40.0);
global_get(28, vecEnd);
xs_vec_mul_scalar(vecEnd, 8192.0, vecEnd);
xs_vec_add(vecSrc, vecEnd, vecEnd);
get_tr2(trace_result, 5, vecSrc);
get_tr2(trace_result, 7, vecEnd);
xs_vec_mul_scalar(vecEnd, 2.5, vecEnd);
xs_vec_add(vecSrc, vecEnd, vecEnd);
TE_FLAG = TE_FLAG | 2;
TE_FLAG = TE_FLAG | 4;
TE_FLAG = TE_FLAG | 8;
engfunc(70, 5, 23, vecEnd, 0);
write_byte("");
engfunc(71, vecEnd);
engfunc(71, 6084 + 4);
engfunc(71, floatsub(vecEnd[2], 1092616192));
write_short(g_smokepuff_id);
write_byte(2);
write_byte(50);
write_byte(TE_FLAG);
message_end();
return 0;
}
get_weapon_attachment(id, Float:output[3], Float:fDis)
{
new Float:vfEnd[3] = 0.0;
new viEnd[3];
get_user_origin(id, viEnd, "");
IVecFVec(viEnd, vfEnd);
new Float:fOrigin[3] = 0.0;
new Float:fAngle[3] = 0.0;
pev(id, 118, fOrigin);
pev(id, 135, fAngle);
xs_vec_add(fOrigin, fAngle, fOrigin);
new Float:fAttack[3] = 0.0;
xs_vec_sub(vfEnd, fOrigin, fAttack);
xs_vec_sub(vfEnd, fOrigin, fAttack);
new Float:fRate = floatdiv(fDis, vector_length(fAttack));
xs_vec_mul_scalar(fAttack, fRate, fAttack);
xs_vec_add(fOrigin, fAttack, output);
return 0;
}
set_weapon_anim(id, anim)
{
if (!is_user_alive(id))
{
return 0;
}
set_pev(id, 90, anim);
message_begin(8, 35, 4808, id);
write_byte(anim);
write_byte(xs__ITaskId);
message_end();
return 0;
}
fm_cs_get_weapon_ent_owner(ent)
{
if (pev_valid(ent) != 2)
{
return -1;
}
return get_pdata_cbase(ent, 41, 4, 5);
}
set_player_nextattack(id, Float:nexttime)
{
if (!is_user_alive(id))
{
return 0;
}
set_pdata_float(id, 83, nexttime, 5, 5);
return 0;
}
set_weapons_timeidle(id, WeaponId, Float:TimeIdle)
{
if (!is_user_alive(id))
{
return 0;
}
static entwpn;
entwpn = fm_get_user_weapon_entity(id, WeaponId);
if (!pev_valid(entwpn))
{
return 0;
}
set_pdata_float(entwpn, 46, TimeIdle, 4, 5);
set_pdata_float(entwpn, 47, TimeIdle, 4, 5);
set_pdata_float(entwpn, 48, floatadd(1056964608, TimeIdle), 4, 5);
return 0;
}
get_position(id, Float:forw, Float:right, Float:up, Float:vStart[])
{
static Float:vUp[3];
static Float:vRight[3];
static Float:vForward[3];
static Float:vAngle[3];
static Float:vOrigin[3];
pev(id, 118, vOrigin);
pev(id, 135, vUp);
xs_vec_add(vOrigin, vUp, vOrigin);
pev(id, 126, vAngle);
angle_vector(vAngle, 1, vForward);
angle_vector(vAngle, 2, vRight);
angle_vector(vAngle, "", vUp);
vStart[0] = floatadd(floatadd(floatadd(vOrigin[0], floatmul(vForward[0], forw)), floatmul(vRight[0], right)), floatmul(vUp[0], up));
vStart[1] = floatadd(floatadd(floatadd(vOrigin[1], floatmul(vForward[1], forw)), floatmul(vRight[1], right)), floatmul(vUp[1], up));
vStart[2] = floatadd(floatadd(floatadd(vOrigin[2], floatmul(vForward[2], forw)), floatmul(vRight[2], right)), floatmul(vUp[2], up));
return 0;
}
get_speed_vector(Float:origin1[3], Float:origin2[3], Float:speed, Float:new_velocity[3])
{
new_velocity[0] = floatsub(origin2[0], origin1[0]);
new_velocity[1] = floatsub(origin2[1], origin1[1]);
new_velocity[2] = floatsub(origin2[2], origin1[2]);
new Float:num = floatsqroot(floatdiv(floatmul(speed, speed), floatadd(floatadd(floatmul(new_velocity[0], new_velocity[0]), floatmul(new_velocity[1], new_velocity[1])), floatmul(new_velocity[2], new_velocity[2]))));
new var1 = new_velocity;
var1[0] = floatmul(var1[0], num);
new var2 = new_velocity[1];
var2 = floatmul(var2, num);
new var3 = new_velocity[2];
var3 = floatmul(var3, num);
return 1;
}
Hata ;
//cstrike/addons/amxmodx/scripting/admin_balrog112.sma(57) : error 041: invalid ellipsis, array size is not known
//cstrike/addons/amxmodx/scripting/admin_balrog112.sma(75) : error 041: invalid ellipsis, array size is not known
//cstrike/addons/amxmodx/scripting/admin_balrog112.sma(96) : error 010: invalid function or declaration
//cstrike/addons/amxmodx/scripting/admin_balrog112.sma(96) : error 062: number of operands does not fit the operator
//cstrike/addons/amxmodx/scripting/admin_balrog112.sma(96) : error 010: invalid function or declaration
//cstrike/addons/amxmodx/scripting/admin_balrog112.sma(96) : fatal error 107: too many error messages on one line