Skip to content

Instantly share code, notes, and snippets.

View Seregamil's full-sized avatar

Seregamil

  • Waterloo
  • Underground
View GitHub Profile
@Seregamil
Seregamil / Program.cs
Created April 15, 2014 13:44
Deleting files by mask
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace maskFiles
{
class Program
@Seregamil
Seregamil / driftSystem.pwn
Last active August 29, 2015 14:01
DriftSystem
//by Seregamil
#include a_samp
#define void%0(%1) forward%0(%1); public%0(%1)
#define MINIMAL_ANGLE (12.5)
#define MAXIMAL_ANGLE (90.0)
#define MINIMAL_SPEED (15.0)
@Seregamil
Seregamil / vehicleTuning.pwn
Last active August 29, 2015 14:02
Vehicle tuning system
//by Seregamil
#include a_samp
main(){
}
public OnGameModeInit(){
return true;
@Seregamil
Seregamil / topShots.pwn
Created June 2, 2014 06:52
Skill system
//by Seregamil
#include a_samp
main(){
}
#define SKILL_WEAPONS 10
new Float: weapon_shots[ MAX_PLAYERS ][ SKILL_WEAPONS ];
@Seregamil
Seregamil / v_system.pwn
Last active August 29, 2015 14:02
Private Vehicle System
//by Seregamil
//Dynamic Vehicles system
#include a_samp
#define USE_LABELS//закомментировать, если не желаете использовать 3Д тексты
#if defined USE_LABELS
#include streamer
#endif
@Seregamil
Seregamil / zones.pwn
Last active August 29, 2015 14:02
Dynamic zones( Poligons )
//by Seregamil
#include a_samp
/*
Functions:
CreatePolygon( Float: area[ ], all_points = sizeof area )
Создает полигон
DestroyPolygon( polygonid )
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
namespace network
{
public class netWork
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Threading;
namespace client_side
{
//-- by Seregamil
/*
Functions:
List<string>.Create()
List<string>.Get( _ID, index )
List<string>.Add( _ID, item[] )
List<string>.AddRange( _ID, range[][] )
List<string>.IndexOf( _ID, item )
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
/// <summary>
/// A class that manages a global low level keyboard hook