Szerző Téma: Elit Magyar Rendõrség (Nincs teljesen kész!)  (Megtekintve 4114 alkalommal)

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Dátum: 2012. május 13. - 21:04:12 »
+8 Show voters
Amint irtam készítek egy EMR módot nem volt idõm befejezni de aki akarja fejezze be! :D
Lehet,hogy bugos,rossz lesz de fogadom ezeket a szavakat is mivel ez az elsõ nagy GM-em :D
Sor: 2849
Tartalmaz:
ATM Rablás
Rendõr parancsok (/rcmds,/rcmds2), Civil parancsok (/civilhelp)
Munkák
Mappolás
Jogsivétel
Pár NPC (Nem tom minek  :laugh:)
Nyitható/zárható kapu a rendörségnek
/tetszik parancs (Textdrawban mutassa,hogy hányan lájkolták a szervert)
/neon csak a wangcarsnál leeht ahol mappolva van a wangcars
Irányjelzõ szkript (Q és E)
Auqa park (Admin lazulás) (Készítette: Lu$ta)
Kis falu (Készítette: Szabyxxx)
Parancsokért: /cmds
Jármûkezelõ szkript (/motorki /motorbe /bezar /kinyit)
2 admin parancs (/kidob /kirug)
Telefon rendszer /telefon
Rendõrnek /felszereles
Borért /bor
ATM Rablás: /rabol
(Edit:
Szögesdrót a rendõrnek /szlerak /szfelvesz /szfelveszall)
Munkák:
Mentõs,Taxis,Autószerelõ
 
#include <a_samp>
#include <zcmd>
#include <fixchars.h>
#include <sscanf>
#include <dini>
#include <IsPlayerLAdmin>
#include <streamer>
#pragma tabsize 0
new Text:likeok;
new likes;
new like[256];
new likeolt[MAX_PLAYERS];
new kapu;
new npctaxi;
new npcveh;
new npcbusz;
new engine,lights,alarm,doors,bonnet,boot,objective;
new Text:Textdraw0;
new Text:Textdraw1;
new mtimer;
new tatimer;
new autimer;
new rendorseg2;
new rendorseg2ki;
new jogsicentrum;
new jogsicentrumki;
new rendorsegbe;
new rendorsegki;
new nev1[MAX_PLAYER_NAME], nev2[MAX_PLAYER_NAME], jogsi;
new nev3[MAX_PLAYER_NAME], nev4[MAX_PLAYER_NAME], fegyver;
new bool:ittas[MAX_PLAYERS];
forward borido(playerid);
new gTeam[MAX_PLAYERS];
#define RENDOR  0
#define CIVIL   1
#define MENTOS 2
#define TAXIS 3
#define AUTOSZERELO 4
#define FEHER   0xFFFFFFAA
#define NARANCS 0xFF9900AA
#define ZOLD 0x33FF33AA
#define SARGA   0xFFFF00AA
#define hiba    0xFF0000AA
#define DIALOGID 3577
#define fegyoar 20000
#define fegyopos 2204.3757,1236.5514,10.8203
#define tuningshop  -512.1392,2659.6636,71.5100
#define JOGSI_AR            5000
#define JOGSI_POS           246.2242,118.5236,1003.2188
#define VIZSGAKOCSI_POS     -1255.9142,2716.8379,49.8977
#define VIZSGA_MINUTE       59 // Perc
#define VIZSGA_SEC          30 // Másodperc
new
vizsgakocsi,
Text3D:vizsgakocsitext,
bool:vizsgazik[MAX_PLAYERS],
CP[MAX_PLAYERS] = -1,
str[128],
file[256],
pname[MAX_PLAYER_NAME],
VizsgaMinute[MAX_PLAYERS] = VIZSGA_MINUTE,
VizsgaSec[MAX_PLAYERS] = VIZSGA_SEC,
vizsgatimer[MAX_PLAYERS];
forward VizsgaTime(playerid);
//Irányjelzõ script
enum index2
{
obj1,
obj2,
bool:indexing
}
#define VEHICLE_NONE 0
#define VEHICLE_CAR 1
#define VEHICLE_BOAT 2
#define VEHICLE_TRAIN 3
#define VEHICLE_HELI 4
#define VEHICLE_PLANE 5
#define VEHICLE_BIKE 6
#define VEHICLE_MONSTERTRUCK 7
#define VEHICLE_QUADBIKE 8
#define VEHICLE_BMX 9
#define VEHICLE_TRAILER 10
new gs_vehicleTypes [] = {
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BOAT,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK, VEHICLE_CAR,
    VEHICLE_BOAT, VEHICLE_HELI, VEHICLE_BIKE, VEHICLE_TRAIN, VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_BOAT,
    VEHICLE_BOAT, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_PLANE,
    VEHICLE_BIKE, VEHICLE_BIKE, VEHICLE_BIKE, VEHICLE_PLANE, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_BIKE, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_QUADBIKE, VEHICLE_BOAT, VEHICLE_BOAT, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BMX, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BMX, VEHICLE_BMX, VEHICLE_PLANE, VEHICLE_PLANE, VEHICLE_PLANE,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_PLANE, VEHICLE_PLANE, VEHICLE_BIKE,
    VEHICLE_BIKE, VEHICLE_BIKE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_TRAIN,
    VEHICLE_TRAIN, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_PLANE,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK, VEHICLE_MONSTERTRUCK, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_TRAIN, VEHICLE_TRAIN, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BIKE, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_BIKE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_TRAIN,
    VEHICLE_TRAILER, VEHICLE_PLANE, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_TRAILER, VEHICLE_TRAILER, VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_TRAILER, VEHICLE_TRAILER
};
stock indexcompatible(veh)
{
new model=GetVehicleModel(veh);
/*
new compatible=1;
switch(model)
{
    case 460,476,511,512,513,519,520,553,577,592,593,548,425,417,487,488,497,563,447,469,509,481,510,462,448,581,522,461,521,523,463,586,468,471,435,450,569,570,584,590,591,606,607,608,610,611,485,538,457,532,486,406,530,537,571,572,574,449,525,583,539,441,464,465,501,564,594,472..473,493,595,484,430,452..453,446,454:
    {
        compatible=0;
    }
}
*/
return (gs_vehicleTypes[model-400]==VEHICLE_CAR)?1:0;
}
new index[MAX_VEHICLES][index2];
forward indexf(vehicleid,oldal);
public indexf(vehicleid,oldal)
{
new v=vehicleid;
if(v!=INVALID_VEHICLE_ID)
{
index[v][obj1]=CreateObject(19294,0,0,0,0,0,0);
AttachObjectToVehicle(index[v][obj1],v,(oldal==0)?1:-1, 2.5, -0.2, 0,0,0);
index[v][obj2]=CreateObject(19294,0,0,0,0,0,0);
AttachObjectToVehicle(index[v][obj2],v,(oldal==0)?1:-1, -2.5, -0.2, 0,0,0);
index[v][indexing]=true;
}
return 1;
}
// PRESSED(keys)
#define PRESSED(%0) \\
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
//------------------------------------------------------------------------
main()
{
print(\"\\n----------------------------------\");
print(\" Elit Magyar Rendõrség Betöltve\");
print(\"        Mód By [EMR]eXe\");
print(\"----------------------------------\\n\");
}
public OnPlayerConnect(playerid)
{
        TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
          PlayAudioStreamForPlayer(playerid, \"http://webvilagserver1.jatekoldal.net/udvozollek.ogg\");
          GameTextForPlayer(playerid,\"~y~]~b~ELIT MAGYAR RENDÕRSÉG~y~]\",6000,4);
SendClientMessage(playerid, -1,  \"{ffffff}Üdvözöllek a {00bbff}[H][N] <[>{ffff00}Elit Magyar Rendõrség{00bbff}<]> [H][N] {ffffff}szerveren.\");
       SendClientMessage(playerid, -1, \"{00bbff}Érdemes spawnolás után jogosítványt,fegyverengedélyt venni! /jogsivesz /fegyovesz\");
       SendClientMessage(playerid, -1, \"{00bbff}A szerveren tudsz házakat venni és munkákat vállalni! /munkak\");
       SetPlayerTeam(playerid, 0);
       SetPVarInt(playerid, \"Lecsukott\", 0);
       likeolt[playerid] = 0;
format(like,sizeof(like),\"Tetszik: %d\",likes);
   TextDrawShowForAll(likeok);
   TextDrawSetString(likeok, like);
        return 1;
}
CMD:civilhelp(playerid, params[])
{
SendClientMessage(playerid, -1, \"{00ff00}Parancsokhoz: {ffff00}/cmds {ffffff}| {00ff00}Elérhetõ rendõrök/admminokhoz: {ffff00}/admins {ffffff}| {00ff00}Telefon: {ffff00}/telefon\");
return 1;
}
CMD:tetszik(playerid)
{
if(likeolt[playerid] == 0) {
likes++;
likeolt[playerid] = 1;
dini_IntSet(\"Likeok.ini\", \"Likeok\", likes);
format(like,sizeof(like),\"Tetszikelések: %d\",likes);
   TextDrawSetString(likeok, like);
   }else{
SendClientMessage(playerid,0x00ff11AA,\"Csatlakozásonként csak 1-szer likeolhatsz!\"); }
return 1;
}
CMD:ny(playerid, params[])
{
        if(IsPlayerLAdmin(playerid))
        {
          SetTimerEx(\"kaputimer\", 5000, false, \"i\", playerid);
SendClientMessage(playerid,ZOLD,\"A kapu 5 másodperc múlva bezárul!\");
        MoveObject(kapu, -212.60000610352, 2612.1000976563, 63.400001525879, 4.0);
        }
        else
        {
        SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy rendõr!\");
        }
   return 1;
}
CMD:aquapark(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
SetPlayerPos(playerid, -2910.9829,-188.5926,13.6229);
SendClientMessage(playerid, 0x00FF00AA, \"Sikeresen elteleportáltál az {ff0000}Aqua Parkba! {00ffff}Mappot készítette: {00bbff}<[Lu$ta]>\");
}
else
{
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy admin!\");
}
return 1;
}
CMD:kisfalu(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
SetPlayerPos(playerid, 2893.4719,2171.4329,10.8203);
SendClientMessage(playerid, 0x00FF00AA, \"Sikeresen elteleportáltál a {ff0000}Kisfalura! {00ffff}Mappot készítette: {00bbff}Szabyxxx\");
}
else
{
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy admin!\");
}
return 1;
}
CMD:javit(playerid, params[])
{
        if(GetPlayerTeam(playerid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autószerelõ!\");
        if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autószerelõ!\");
        if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autószerelõ!\");
       
   for( new i = 0; i <MAX_VEHICLES; i++ )
   {
        new Float:Pos[3];
        GetVehiclePos(i,Pos[0],Pos[1],Pos[2]);
        if(IsPlayerInRangeOfPoint(playerid,5.0,Pos[0],Pos[1],Pos[2]))
        {
         RepairVehicle(i);
         SendClientMessage(playerid, 0x33CCFFAA, \"Megjavítottad a jármûvet!\");
         break;
         }
}
return 1;
}
CMD:bezar(playerid, params[])
                {
                        if(IsPlayerInAnyVehicle(playerid))
                        {
                                new State=GetPlayerState(playerid);
                                if(State!=PLAYER_STATE_DRIVER)
                                {
                                        SendClientMessage(playerid,0xFF0000AA,\"Nem zárhatod be!\");
                                        return 1;
                                }
                                new i;
                                for(i=0;i<MAX_PLAYERS;i++)
                                {
                                        if(i != playerid)
                                        {
                SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1);
                }
}
        SendClientMessage(playerid, 0xFF0000AA, \"Bezártad az ajtókat!\");
        new Float:pX, Float:pY, Float:pZ;
        GetPlayerPos(playerid,pX,pY,pZ);
    PlayerPlaySound(playerid,1056,pX,pY,pZ);
        GameTextForPlayer(playerid, \"~r~Zárva!\",8000,5);
        }
    else
    {
    SendClientMessage(playerid, 0xFFFF00AA, \"Nem vagy autóban!\");
    }
        return 1;
        }
        CMD:kinyit(playerid, params[])
        {
                if(IsPlayerInAnyVehicle(playerid))
                {
                        new State=GetPlayerState(playerid);
                        if(State!=PLAYER_STATE_DRIVER)
                        {
                                SendClientMessage(playerid,0xFFFF00AA,\"Nem nyithatod ki.\");
                                return 1;
                        }
                        new i;
                        for(i=0;i<MAX_PLAYERS;i++)
                        {
                                SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0);
                        }
                        SendClientMessage(playerid, 0x00FF00AA, \"Ajtó nyitva!\");
                        new Float:pX, Float:pY, Float:pZ;
                        GetPlayerPos(playerid,pX,pY,pZ);
                        PlayerPlaySound(playerid,1057,pX,pY,pZ);
         GameTextForPlayer(playerid, \"~g~Nyitva!\",8000,5);
       }
       else
       {
          SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autóban!\");
     }
        return 1;
}
CMD:motorbe(playerid, params[])
{
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID)
    GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
   SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
   return 1;
   }
   CMD:motorki(playerid, params[])
   {
   new vid = GetPlayerVehicleID(playerid);
   if(vid != INVALID_VEHICLE_ID)
    GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
   return 1;
   }
CMD:cmds(playerid, params[])
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, \"Parancsok\", \"{ff0000}/bor\\n/bezar\\n{ffffff}/kinyit\\n{00ff00}/motorbe\\n/motorki\\n/rabol\\n/tetszik\\n/neon\\n\\nA parancsok még bõvülnek! By [EMR]eXe\",\"OK\",\"\");
return 1;
}
CMD:heal(playerid, params[])
{
         new
         string[255],
         giveplayerid;
         if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
         if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid,0xFF0000AA, \"Használat: /heal <ID>\");
         if(GetPlayerTeam(playerid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
         if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
         if(GetPlayerTeam(playerid) == 3) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
         if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
 new t[MAX_PLAYER_NAME];
 GetPlayerName(playerid, t, sizeof(t));
 new t1[MAX_PLAYER_NAME];
 GetPlayerName(giveplayerid, t1, sizeof(t1));
 format(string, sizeof(string), \"{ff0000}[MENTÕS,%s] {ffffff}Feltöltötte %s életét!\", t, t1);
    SendClientMessageToAll(0x33CCFFAA,string);
    SetPlayerHealth(giveplayerid, 100);
    return 1;
}
CMD:felmond(playerid, params[])
{
if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
if(GetPlayerTeam(playerid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nincs munkád!\");
        if(GetPlayerTeam(playerid) == 1)
        {
KillTimer(tatimer);
}
if(GetPlayerTeam(playerid) == 2)
{
KillTimer(mtimer);
}
if(GetPlayerTeam(playerid) == 3)
{
KillTimer(autimer);
}
SetPlayerTeam(playerid, 0);
SendClientMessage(playerid, SARGA, \"Felmondtál az állásodból!\");
GameTextForPlayer(playerid, \"~h~~l~Felmondtál!\", 3000, 4);
SetPlayerPos(playerid, -249.8684,2609.4885,62.8582);
return 1;
}
CMD:munkak(playerid, params[])
{
if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
ShowPlayerDialog(playerid, 6817, DIALOG_STYLE_LIST, \"Munkák\", \"{ffff00}Taxis\\n{ff0000}Mentõs\\n{6b8e23}Autó Szerelõ\",\"Elvállalom\",\"Mégsem\");
return 1;
}
CMD:kirug(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
new giveplayerid, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if(sscanf(params, \"us\", giveplayerid, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /kirug [playerid] [indok]\");
if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ff0000}[ADMIN,%s]:{b3d5b2} Kirúgta %s -t {00bbff}[indok: %s]\", name, name2, indok);
SendClientMessageToAll(0xB3D5B2AA,string);
Ban(giveplayerid);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy admin!\");
}
return 1;
}
CMD:kidob(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
new giveplayerid, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if(sscanf(params, \"us\", giveplayerid, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /kidob [playerid] [indok]\");
if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ff0000}[ADMIN,%s]:{b3d5b2} Kidobta %s -t {00bbff}[indok: %s]\", name, name2, indok);
SendClientMessageToAll(0xB3D5B2AA,string);
Kick(giveplayerid);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy admin!\");
}
return 1;
}
CMD:rcmds(playerid, params[])
{
    if(IsPlayerLAdmin(playerid))
{
SendClientMessage(playerid, -1, \"{00bbff}Állj 1: {ffffff}/a1\");
SendClientMessage(playerid, -1, \"{00bbff}Állj 2: {ffffff}/a3\");
SendClientMessage(playerid, -1, \"{00bbff}Állj 3: {ffffff}/a2\");
SendClientMessage(playerid, -1, \"{00bbff}Igazoltatás: {ffffff}/i\");
SendClientMessage(playerid, -1, \"{00bbff}Papírokat: {ffffff}/p\");
SendClientMessage(playerid, -1, \"{00bbff}Szonda: {ffffff}/szonda\");
SendClientMessage(playerid, -1, \"{00bbff}Szálljon ki/le: {ffffff}/szl\");
SendClientMessage(playerid, -1, \"{ffffff}További parancsok: {00bbff}/rcmds2\");
}
else
        {
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:rcmds2(playerid, params[])
{
    if(IsPlayerLAdmin(playerid))
        {
SendClientMessage(playerid, -1, \"{00bbff}Felszerelés: {ffffff}/felszereles\");
SendClientMessage(playerid, -1, \"{00bbff}Jogosítvány elvétel: {ffffff}/jogsielvesz\");
SendClientMessage(playerid, -1, \"{00bbff}Fegyverengedély elvétel: {ffffff}/fegyoelvesz\");
SendClientMessage(playerid, -1, \"{00bbff}Bilincs: {ffffff}/bilincs\");
SendClientMessage(playerid, -1, \"{00bbff}Bilincs levétele: {ffffff}/levesz\");
SendClientMessage(playerid, -1, \"{00bbff}Börtönbe zárás: {ffffff}/lecsuk\");
SendClientMessage(playerid, -1, \"{00bbff}Szögesdrót lerakás: {ffffff}/szlerak\");
SendClientMessage(playerid, -1, \"{00bbff}Szögesdrót felvétele: {ffffff}/szfelvesz\");
SendClientMessage(playerid, -1, \"{00bbff}Összes szögesdrót felvétele: {ffffff}/szfelveszall\");
}
else
        {
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:telefon(playerid, params[])
{
if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
        ShowPlayerDialog(playerid, 38, DIALOG_STYLE_LIST, \"Telefon\", \"{ffff00}Taxi\\n{0000ff}Rendõr\\n{ff0000}Mentõ\\n{6b8e23}Autó Szerelõ\",\"Felhív\",\"Leteszem\");
return 1;
}
CMD:felszereles(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
SendClientMessage(playerid, -1, \"{FF0000}Felvetted a felszerelésed\");
        GivePlayerWeapon(playerid,31,2000);
        GivePlayerWeapon(playerid,25,2000);
        GivePlayerWeapon(playerid,29,2000);
        GivePlayerWeapon(playerid,24,2000);
        GivePlayerWeapon(playerid,3,2000);
SetPlayerArmour(playerid, 100);
}
else
{
SendClientMessage(playerid, -1, \"{FF0000}Nem vagy rendõr!\");
}
return 1;
}
CMD:jogsimutat(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /jogsimutat [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Nincs ilyen játékos!\");
GetPlayerName(playerid, nev1, sizeof(nev1));
format(string, sizeof string, \"| %s megmutatta a jogosítványát! |\",nev1);
SendClientMessage(giveplayerid,0x73ff00AA,string);
SendClientMessage(playerid, 0x00eeffAA, \"Megmutattad a jogosítványodat!\");
format(string2, sizeof(string2), \"Jogositvanyok/%s.ini\", nev1);
if(fexist(string2)){
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Jogosítvány: {00ff09}van\");
}else{
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Jogosítvány: {ff0000}nincs\"); }
return 1;
}
CMD:jogsielvesz(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(!IsPlayerLAdmin(playerid)) return SendClientMessage(playerid, hiba, \"Hiba: Nem vagy rendõr!\");
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /jogsielvesz [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, nev1, sizeof(nev1));
GetPlayerName(giveplayerid, nev2, sizeof(nev2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s] {00bbff}Elvette %s jogosítványát! \",nev1, nev2);
SendClientMessageToAll(0x00ffeaAA,string);
format(string2, sizeof(string2), \"Jogositvanyok/%s.ini\", nev2);
if(fexist(string2)){
   dini_Remove(string2);
}else{
   SendClientMessage(giveplayerid, 0xffbf00AA, \"A játékosnak nincs jogosítványa!\");}
return 1;
}
CMD:jogsivesz(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid,8.0,JOGSI_POS)) return SendClientMessage(playerid,hiba,\"Nem vagy a jogsicentrumnál!\");
if(GetPlayerMoney(playerid) < JOGSI_AR) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed!\");
format(file,sizeof(file),\"Jogositvanyok/%s.ini\",pName(playerid));
if(fexist(file)) return SendClientMessage(playerid,hiba,\"Neked már van jogosítványod!\");
if(vizsgazik[playerid] == true) return SendClientMessage(playerid,hiba,\"Te már vizsgázol!\");
SendClientMessage(playerid,NARANCS,\"Kifizetted a tanfolyamot. Most menj a ki a vizsga kocsihoz!\");
SetPlayerCheckpoint(playerid,VIZSGAKOCSI_POS,4.0);
GivePlayerMoney(playerid, - JOGSI_AR);
vizsgazik[playerid] = true;
return 1;
}
CMD:neon(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid,7.0,tuningshop)) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy a tuning shoppnál!\");
       ShowPlayerDialog(playerid, 4168, DIALOG_STYLE_LIST, \"NEON MENÜ\", \"Kék\\nPiros\\nZöld\\nFehér\\nRózsaszín\\nSárga\\nMinden neon levétele\", \"Megvesz\", \"Kilépés\");
return 1;
}
CMD:fegyovesz(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, fegyopos)) {
new string[128];
GetPlayerName(playerid, nev3, sizeof(nev3));
format(string, sizeof(string), \"Fegyverengedelyek/%s.ini\", nev3);
if(fexist(string)){
   SendClientMessage(playerid, 0xFF0000AA, \"Már van fegyver engedélyed!\");
}else{
     if(GetPlayerMoney(playerid) >= fegyoar) {SendClientMessage(playerid, 0x38FF06FF, \"Megvetted a fegyver engedélyt!\" ); dini_Create(string); GivePlayerMoney(playerid, -fegyoar); }else{ SendClientMessage(playerid, hiba, \"Nincs elegendõ pénzed a fegyver engedélyhez!!\" ); }}
        }else{
   SendClientMessage(playerid, 0x0088ffAA, \"Bejelöltük a térképeden a rendõrséget!\"); fegyver = SetPlayerCheckpoint(playerid, fegyopos, 3.0); }
return 1;
}
CMD:fegyomutat(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /fegyomutat [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Nincs ilyen játékos!\");
GetPlayerName(playerid, nev3, sizeof(nev3));
format(string, sizeof string, \"{ffffff}| {00bbff}%s {ffffff}megmutatta a fegyver engedélyét! |\",nev3);
SendClientMessage(giveplayerid,0x73ff00AA,string);
SendClientMessage(playerid, 0x00eeffAA, \"Megmutattad a fegyver engedélyed!\");
format(string2, sizeof(string2), \"Fegyverengedelyek/%s.ini\", nev3);
if(fexist(string2)){
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Fegyver engedély: {00ff09}van\");
}else{
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Fegyver engedély: {ff0000}nincs\"); }
return 1;
}
CMD:fegyoelvesz(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(!IsPlayerLAdmin(playerid)) return SendClientMessage(playerid, hiba, \"Hiba: Nem vagy rendõr!\");
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /fegyoelvesz [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, nev3, sizeof(nev3));
GetPlayerName(giveplayerid, nev4, sizeof(nev4));
format(string, sizeof string, \"%s elvette %s fegyver engedélyét! \",nev3, nev4);
SendClientMessageToAll(0x00ffeaAA,string);
ResetPlayerWeapons(playerid);
format(string2, sizeof(string2), \"Fegyverengedelyek/%s.ini\", nev4);
if(fexist(string2)){
   dini_Remove(string2);
}else{
   SendClientMessage(giveplayerid, 0xffbf00AA, \"A játékosnak nincs fegyver engedélye!\");}
return 1;
}
CMD:i(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /i [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Kérem álljon félre {b22222}%s, {00bbff}igazoltatás!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:p(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /p [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} %s papírokat kérnék! {b22222}[[/jogsimutat %s]]\",name, illeto, name, name);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:a1(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /a1 [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]: {b22222}%s ! {00bbff}Itt a rendõrség, álljon meg!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:a2(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /a2 [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]: {b22222}%s ! {00bbff}Ha nem áll meg kénytelenek leszünk tüzet nyitni!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:a3(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /a3 [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]: {b22222}%s ! {00bbff}Utolsó figyelmeztetés! Ha nem áll meg tüzelünk!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:szl(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /szl [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Itt a rendõrség, szálljon ki/le {b22222}%s!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:szonda(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /szonda [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Kérem fújjon bele a szondába %s! {b22222}[[/fuj]]\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:bor(playerid, params[])
{
ittas[playerid] = true;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_WINE);
SetTimer(\"borido\", 60000*10, false);
    SendClientMessage(playerid,0x00ff33AA,\"Úgydöntöttél iszol egy üveg bort!\");
return 1;
}
public borido(playerid)
{
ittas[playerid] = false;
    SendClientMessage(playerid,0x00ff33AA,\"Kiürült az alkohol a szervezetedbõl!\");
}
CMD:fuj(playerid, params[])
{
if(ittas[playerid] == true)
{
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof string, \"%s belefújt a szondába. Eredménye: {b22222}Ittas\", name);
SendClientMessageToAll(0xff8c00AA,string);
}
else
{
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof string, \"%s belefújt a szondába. Eredménye: {00ff00}Tiszta\", name);
SendClientMessageToAll(0xff8c00AA,string);
}
return 1;
}
CMD:bilincs(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
        new giveplayerid, string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /bilincs  <playerid>\");
else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
else{
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Megbilincselte {b22222}%s-t!\", name, name2);
        SendClientMessageToAll(0xB3D5B2AA,string);
        TogglePlayerControllable(giveplayerid,0);
        }
}
    return 1;
}
CMD:levesz(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
        new giveplayerid, string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
       if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /levesz <playerid>\");
else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
else{
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Levette a bilincset {b22222}%s{00bbff}-ról/rõl.\", name,name2);
        SendClientMessageToAll(0xFF0000FF,string);
        TogglePlayerControllable(giveplayerid,1);
          }
}
             return 1;
}
CMD:lecsuk(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
new giveplayerid, ido, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if(sscanf(params, \"uds\", giveplayerid, ido, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /lecsuk [playerid] [perc] [indok]\");
if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Börtönbe zárta %s -t {b22222}[[Perc: %d]] [[indok: %s]]\", name, name2, ido, indok);
SendClientMessageToAll(0xB3D5B2AA,string);
ido *= 60000;
SetTimerEx(\"Bortonido\",ido,false,\"d\",giveplayerid);
SetPlayerPos(giveplayerid,2199.7134,1224.0686,10.8203);
SetPlayerInterior(giveplayerid, 0);
SetPVarInt(playerid, \"Lecsukott\", 1);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
forward Bortonido(playerid);
public Bortonido(playerid)
{
SpawnPlayer(playerid);
return 1;
}
CMD:rabol(playerid, params[])
{
if(gTeam[playerid] == RENDOR) return SendClientMessage(playerid, 0xFF0000AA, \"Megne próbálj rendvédelmisként rabolni!\");
     if(GetPVarInt(playerid,\"rabol\")==1)
      {
      SendClientMessage(playerid,hiba,\"Már raboltál! 5 perc múlva újra rabolhatsz!\");
      }
      if(GetPVarInt(playerid,\"rabol\")==0)
      {
      if(IsPlayerInRangeOfPoint(playerid,1.0,2023.5, 997.79998779297, 10.5) || IsPlayerInRangeOfPoint(playerid,1.0, 2239, 1283.5, 10.5) || IsPlayerInRangeOfPoint(playerid,1.0, 2090.5, 1458.9000244141, 10.5) || IsPlayerInRangeOfPoint(playerid,1.0,2196.8999023438, 1680.8000488281, 12) || IsPlayerInRangeOfPoint(playerid,1.0,2224.6999511719, 1846.5999755859, 10.5))
      {
      SendClientMessage(playerid,hiba,\"Belerúgtál egy ATM-be!\");
      TogglePlayerControllable(playerid,0);
      SetPlayerWantedLevel(playerid,2);
      SetPlayerColor(playerid, 0xFF0000AA);
      SetPVarInt(playerid,\"rabol\",1);
      SendClientMessageToAll(hiba,\"[RIASZTÁS]: Kirabolták az eggyik ATM-et!\");
      SendClientMessage(playerid, hiba, \"Kiraboltál egy ATM-et!\");
      SetTimerEx(\"rabolas\",15000,0,\"i\",playerid);
      }
      else
      {
      SendClientMessage(playerid,hiba,\"Nem vagy ATM közelébe!\");
      }
      }
      return 1;
}
forward rabolas(playerid);
public rabolas(playerid)
{
  new rcash =(random(50000-10000)+10000);
      TogglePlayerControllable(playerid,1);
      GivePlayerMoney(playerid, rcash);
      SendClientMessage(playerid,NARANCS,\"Sikeresen kiraboltad az ATM-et!\");
      SetTimerEx(\"rabolasido\",300000,0,\"i\",playerid);
}
forward rabolasido(playerid);
public rabolasido(playerid)
{
      SendClientMessage(playerid,ZOLD,\"Letelt az idõd! Újra rabolhatsz!\");
      SetPVarInt(playerid,\"rabol\",0);
      SetPlayerWantedLevel(playerid,0);
      return 1;
}
public OnDialogResponse (playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 38)
{
if(response)
    {
        if(listitem == 0)
        {
   if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, hiba, \"Te már jármûben vagy!\");
   new tName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, tName, sizeof(tName));
   format(string, sizeof(string), \"[HÍVÁS] %s taxit hívott!\", tName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, SARGA, \"Taxit hívtál! Maradj a helyszínen!\");
   }
   if(listitem == 1)
        {
             new rName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, rName, sizeof(rName));
   format(string, sizeof(string), \"[HÍVÁS] {00bbff}%s rendõrt hívott!\", rName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, -1, \"{00bbff}Felhívtad a rendõröket. Maradj a helyszínen!\");
   }
   if(listitem == 2)
        {
   new mName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, mName, sizeof(mName));
   format(string, sizeof(string), \"[HÍVÁS] {ff0000}%s mentõt hívott!\", mName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, hiba, \"Felhívtad a mentõket. Maradj a helyszínen!\");
   }
   if(listitem == 3)
        {
   new auName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, auName, sizeof(auName));
   format(string, sizeof(string), \"[HÍVÁS] {ff0000}%s autószerelõt hívott!\", auName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, hiba, \"Felhívtad az szerelõket. Maradj a helyszínen!\");
   }
         }
}
if(dialogid == 6817)
{
if(response)
{
   if(listitem == 0)
        {
   new string[255];
   if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Már dolgozol!\");
   if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! \'MENTÕS\' \");
   SetPlayerTeam(playerid, 1);
   SetPlayerSkin(playerid, 19);
   SetPlayerPos(playerid, -248.2956,2662.7441,62.6875);
   tatimer = SetTimer(\"taxistimer\",3000,false, \"i\", playerid);
   SendClientMessage(playerid, SARGA, \"Mostantól taxisként dolgozol!\");
   SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");
   SendClientMessage(playerid, FEHER, \"3 percenként kapsz fizetést!\");
   new taxis[MAX_PLAYER_NAME];
   GetPlayerName(playerid, taxis, sizeof(taxis));
   format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól taxisként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",taxis);
   SendClientMessageToAll(0x00ff1eAA,string);
   }
   if(listitem == 1)
        {
          new string[255];
   if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Már dolgozol!\");
   if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! \'TAXIS\' \");
   SetPlayerTeam(playerid, 2);
   SetPlayerSkin(playerid, 276);
   SetPlayerPos(playerid, -459.6500,2701.6978,62.6410);
   mtimer = SetTimer(\"mentostimer\",1000*60*3,false, \"i\", playerid);
   SendClientMessage(playerid, hiba, \"Mostantól mentõsként dolgozol!\");
   SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");
   SendClientMessage(playerid, FEHER, \"3 percenként kapsz fizetést!\");
   SendClientMessage(playerid, FEHER, \"Hogy segíts másokon: /heal [iD]\");
   new mentos[MAX_PLAYER_NAME];
   GetPlayerName(playerid, mentos, sizeof(mentos));
   format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól mentõsként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",mentos);
   SendClientMessageToAll(0x00ff1eAA,string);
   }
   if(listitem == 2)
        {
        new string[255];
   if(GetPlayerTeam(playerid) == 3) return SendClientMessage(playerid, 0xFF0000AA, \"Már dolgozol!\");
   if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! \'MENTÕS\' \");
   if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! TAXIS\' \");
   SetPlayerTeam(playerid, 3);
   SetPlayerSkin(playerid, 50);
   SetPlayerPos(playerid, -322.4567,2675.7900,63.6797);
   autimer = SetTimer(\"sztimer\",1000*60*3,false, \"i\", playerid);
   SendClientMessage(playerid, ZOLD, \"Mostantól autószerelõsként dolgozol!\");
   SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");
   SendClientMessage(playerid, FEHER, \"Javítani a /javit parancsal tudsz\");
   SendClientMessage(playerid, FEHER, \"Autókat tudsz vontatni: CTRL,ALT GR,ALT\");
   SendClientMessage(playerid, FEHER, \"3 percenként kapsz fizetést!\");
   new autoszer[MAX_PLAYER_NAME];
   GetPlayerName(playerid, autoszer, sizeof(autoszer));
   format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól autószerelõként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",autoszer);
   SendClientMessageToAll(0x00ff1eAA,string);
   }
   }
}
if(dialogid == 4168)
{
if(response)
{
   if(listitem == 0)
        {
      if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
      GivePlayerMoney(playerid,-86000);
               SetPVarInt(playerid, \"Neon\", CreateObject(18648,0,0,0,0,0,0));
                  SetPVarInt(playerid, \"Neon1\", CreateObject(18648,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonk\", CreateObject(18648,0,0,0,0,0,0,90));
                SetPVarInt(playerid, \"elsonk\", CreateObject(18648,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsonk\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonk\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"Neon\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               AttachObjectToVehicle(GetPVarInt(playerid, \"Neon1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 1)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon2\", CreateObject(18647,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon3\", CreateObject(18647,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonp\", CreateObject(18647,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonp\", CreateObject(18647,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsonp\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonp\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon2\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon3\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 2)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon4\", CreateObject(18649,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon5\", CreateObject(18649,0,0,0,0,0,0));
                SetPVarInt(playerid, \"elsonz\", CreateObject(18649,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"hatsonz\", CreateObject(18649,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonz\"), GetPlayerVehicleID(playerid), -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"elsonz\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon4\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon5\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
          }
   if(listitem == 3)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
                SetPVarInt(playerid, \"neon6\", CreateObject(18652,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon7\", CreateObject(18652,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonf\", CreateObject(18652,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonf\", CreateObject(18652,0,0,0,0,0,0,80));
        AttachObjectToVehicle(GetPVarInt(playerid, \"elsonf\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonf\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon6\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon7\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 4)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon8\", CreateObject(18651,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon9\", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonr\", CreateObject(18651,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonr\", CreateObject(18651,0,0,0,0,0,0,80));
        AttachObjectToVehicle(GetPVarInt(playerid, \"elsonr\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonr\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon8\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon9\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 5)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon10\", CreateObject(18650,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon11\", CreateObject(18650,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsons\", CreateObject(18650,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsons\", CreateObject(18650,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsons\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsons\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon10\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon11\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
           if(listitem == 6)
   {
   if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (1000$ kell!)\");
            GivePlayerMoney(playerid,-1000);
   DestroyObject(GetPVarInt(playerid, \"neon\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon2\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon3\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon4\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon5\"));
      DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon6\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon7\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon8\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon9\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon10\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon11\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon12\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon13\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"interior\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"interior1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"back\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"back1\"));
            DeletePVar(playerid, \"Status\");
      DestroyObject(GetPVarInt(playerid, \"front\"));
      DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"front1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"undercover\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"undercover1\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonk\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonk\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"hatsonp\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonp\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonz\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonz\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonf\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonf\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonr\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonr\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsons\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsons\"));
            DeletePVar(playerid, \"Status\");
      }
}
}
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
        if(classid >= 0 && classid <= 0)
{
gTeam[playerid] = RENDOR;
GameTextForPlayer(playerid, \"~b~RENDÕR(ADMIN)\", 3000, 3);
SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2205.1873,1237.8591,10.8203);
    SetPlayerFacingAngle(playerid, 94.0821);
    SetPlayerCameraPos(playerid, 2201.3657,1237.5986,10.8203);
        SetPlayerCameraLookAt(playerid, 2201.3657,1237.5986,10.8203);
ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,1,1,1,1);
        }else if(classid >= 1 && classid <= 5)
        {
        gTeam[playerid] = CIVIL;
GameTextForPlayer(playerid, \"~w~CIVIL\", 3000, 4);
SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2212.6987,973.3299,10.6719);
    SetPlayerFacingAngle(playerid, 94.0821);
    SetPlayerCameraPos(playerid, 2204.0127,973.3420,10.6719);
        SetPlayerCameraLookAt(playerid, 2204.0127,973.3420,10.6719);
        }
    return 1;
}
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER)
{
    if(PRESSED(KEY_LOOK_LEFT)||PRESSED(KEY_LOOK_RIGHT))
    {
    new veh=GetPlayerVehicleID(playerid);
    if(index[veh][indexing])
    {
        DestroyObject(index[veh][obj1]);
        DestroyObject(index[veh][obj2]);
        index[veh][indexing]=false;
    } else {
        if(indexcompatible(veh))
        {
               new oldal2=(PRESSED(KEY_LOOK_LEFT))?1:0;
               indexf(veh,oldal2);
      }
   }
}
}
return 1;
}
public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Text:Textdraw0);
    TextDrawShowForPlayer(playerid, Text:Textdraw1);
    SetPlayerTeam(playerid, 0);
    if(gTeam[playerid] == RENDOR)
if(IsPlayerLAdmin(playerid))
    {
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -234.2092,2591.1311,62.8808);
SetPlayerColor(playerid,FEHER);
        GivePlayerWeapon(playerid,31,2000);
        GivePlayerWeapon(playerid,25,2000);
        GivePlayerWeapon(playerid,29,2000);
        GivePlayerWeapon(playerid,24,2000);
        GivePlayerWeapon(playerid,3,2000);
SetPlayerArmour(playerid, 100);
}
else
{
        GameTextForPlayer(playerid,\"~r~Nem vagy admin!\", 3000, 3);
        SetPlayerPos(playerid, -234.2092,2591.1311,62.8808);
SetPlayerHealth(playerid, 0.0);
          ForceClassSelection(playerid);
          }
    else if(gTeam[playerid] == CIVIL)
    {
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -249.8684,2609.4885,62.8582);
     }
if (IsPlayerNPC (playerid))
     {
      new npcname [MAX_PLAYER_NAME];
      GetPlayerName (playerid, npcname, sizeof (npcname));
      if (!strcmp (npcname, \"[EMR]Sheriff_B0T\", true))
      {
      PutPlayerInVehicle (playerid, npcveh, 0);
      }
if (IsPlayerNPC (playerid))
     {
      new npc1name [MAX_PLAYER_NAME];
      GetPlayerName (playerid, npc1name, sizeof (npc1name));
      if (!strcmp (npc1name, \"[EMR]Busz_sofor_B0T\", true))
      {
      PutPlayerInVehicle (playerid, npcbusz, 0);
      }
if (IsPlayerNPC (playerid))
     {
      new npc2name [MAX_PLAYER_NAME];
      GetPlayerName (playerid, npc2name, sizeof (npc2name));
      if (!strcmp (npc2name, \"[EMR]Taxisofor\", true))
      {
      PutPlayerInVehicle (playerid, npctaxi, 0);
      }
     return 1;
}
return 1;
}
return 1;
}
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
        if(pickupid == rendorsegbe)
   {
        SetPlayerPos(playerid, 2201.4900,1230.7643,10.8203);
        GameTextForPlayer(playerid,\"~b~Rendõrség\",3000,4);
        SetPlayerInterior(playerid,0);
        }
    if(pickupid == rendorsegki)
   {
        SetPlayerPos(playerid, 2194.8281,1228.5958,10.8203);
        GameTextForPlayer(playerid,\"~w~EXIT\",3000,4);
        SetPlayerInterior(playerid,0);
   }
    if(pickupid == jogsicentrum)
   {
        SetPlayerPos(playerid, 1492.5051,1305.6647,1093.2891);
        GameTextForPlayer(playerid,\"~g~Jogosítvány Centrum\",3000,4);
        SetPlayerInterior(playerid,3);
   }
   if(pickupid == jogsicentrumki)
   {
        SetPlayerPos(playerid, -1264.8782,2716.9895,50.2663);
        GameTextForPlayer(playerid,\"~w~EXIT\",3000,4);
        SetPlayerInterior(playerid,0);
   }
         if(pickupid == rendorseg2)
   {
        SetPlayerPos(playerid, 246.2211,111.4266,1003.2188);
        GameTextForPlayer(playerid,\"~b~Rendõrség\",3000,4);
        SetPlayerInterior(playerid,10);
        }
    if(pickupid == rendorseg2ki)
   {
        SetPlayerPos(playerid, -234.1488,2589.5291,63.5276);
        GameTextForPlayer(playerid,\"~w~EXIT\",3000,4);
        SetPlayerInterior(playerid,0);
   }
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(vehicleid == vizsgakocsi)
{
    if(vizsgazik[playerid] == true)
    {
      DisablePlayerCheckpoint(playerid);
      CP[playerid] = 0;
      SetPlayerCheckpoint(playerid,-1260.7849,2706.0518,50.0625,3.0);
      vizsgatimer[playerid] = SetTimerEx(\"VizsgaTime\",10000,true,\"i\",playerid);
   }
   else RemovePlayerFromVehicle(playerid),SendClientMessage(playerid,hiba,\"Nem fizetted ki a tanfolyamot ezért nem vizsgázhatsz!\");
}
}
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(vehicleid == vizsgakocsi)
{
    if(vizsgazik[playerid] == true)
    {
        SendClientMessage(playerid,hiba,\"Kiszálltál az autóból ezért megbuktál!\");
           DisablePlayerCheckpoint(playerid);
           SetVehicleToRespawn(vizsgakocsi);
           vizsgazik[playerid] = false;
           KillTimer(vizsgatimer[playerid]);
       vizsgatimer[playerid] = -1;
    }
}
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
switch(CP[playerid])
{
   case 0:
       {
   SetPlayerCheckpoint(playerid,-1261.1868,2707.7019,49.9375,3.0);
   CP[playerid]++;
   SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Parkolj be!\");
   PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
       case 1:
   {
   SetPlayerCheckpoint(playerid,-1270.2235,2708.9497,49.9449,3.0);
   CP[playerid]++;
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Állj be vízszintesen!\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 2:
   {
   SetPlayerCheckpoint(playerid,-1262.4133,2697.2175,49.9375,3.0);
   CP[playerid]++;
   SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Állj bele a checkpointba!\");
   PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 3:
   {
    SetPlayerCheckpoint(playerid,-1285.4897,2712.7881,49.9382,3.0);
    CP[playerid]++;
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Tolass vissza!\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 4:
   {
    SetPlayerCheckpoint(playerid,-1282.4735,2724.9756,49.9373,3.0);
    CP[playerid]++;
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Állj bele a checkpointba!\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 5:
   {
    SetPlayerCheckpoint(playerid,-1286.9178,2714.6035,49.9381,3.0);
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Tolass vissza és állj vissza az autóval.\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
    CP[playerid]++;
   }
   case 6:
   {
    SetPlayerCheckpoint(playerid,-1261.6401,2714.2327,49.9375,3.0);
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
    CP[playerid]++;
   }
   case 7:
   {
   new Float:VHealth;
   GetVehicleHealth(GetPlayerVehicleID(playerid),VHealth);
   if(VHealth >= 998)
   {
       new year,month,day,hour,minute,sec;
       getdate(year,month,day);
       gettime(hour,minute,sec);
       SendClientMessage(playerid,hiba,\"Sikeresen átmentél a vizsgán!\");
       CP[playerid] = -1;
       DisablePlayerCheckpoint(playerid);
      format(file,sizeof(file),\"Jogositvanyok/%s.ini\",pName(playerid));
      vizsgazik[playerid] = false;
      SetVehicleToRespawn(vizsgakocsi);
      KillTimer(vizsgatimer[playerid]);
       vizsgatimer[playerid] = -1;
      if(!fexist(file)){
          dini_Create(file);
         format(str,sizeof(str),\"%d,%02d,%02d %02d:%02d:%02d\",year,month,day,hour,minute,sec);
         dini_Set(file,\"Név\",pName(playerid));
          dini_Set(file,\"Megkapta\",str);
      }
   }
   else
   {
       SendClientMessage(playerid,hiba,\"Sajnos megbuktál a vizsgán!\");
       CP[playerid] = -1;
       vizsgazik[playerid] = false;
       SetVehicleToRespawn(vizsgakocsi);
       DisablePlayerCheckpoint(playerid);
       KillTimer(vizsgatimer[playerid]);
       vizsgatimer[playerid] = -1;
   }
}
}
if(IsPlayerInCheckpoint(playerid) == fegyver)
{
}
return 1;
}
public OnGameModeInit()
{
SetGameModeText(\"[HUN]Elit Magyar Rendõrség\");
UsePlayerPedAnims();
//Rendõrség Kapu
kapu = CreateObject(975, -220.89999389648, 2612.1999511719, 63.400001525879);
//---------------------------------------------------------------------------
//NPC-k
ConnectNPC(\"[EMR]Sheriff_B0T\", \"Sheriff\");
     npcveh = CreateVehicle (599, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
     ConnectNPC(\"[EMR]Busz_sofor_B0T\", \"Busz\");
     npcbusz = CreateVehicle (431, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
     ConnectNPC(\"[EMR]Taxisofor\", \"Taxis\");
     npctaxi = CreateVehicle (420, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
     //------------------------------------------------------------
rendorsegbe = CreatePickup(1318, 1, 2196.9846,1231.1384,10.8203);
rendorsegki = CreatePickup(1318, 1, 2198.4810,1230.9944,10.8203);
jogsicentrum = CreatePickup(1318, 1, -1266.8993,2715.8362,50.2663);
jogsicentrumki = CreatePickup(1318, 1, 1494.4973,1304.9602,1093.2891);
rendorseg2 = CreatePickup(1318, 1, -234.1756,2587.5073,64.4656);
rendorseg2ki = CreatePickup(1318, 1, 246.4316,109.1015,1003.2188);
vizsgakocsitext = Create3DTextLabel(\"Vizsga jármû\",0xff0000AA,0,0,0,50.0,0,0);
    vizsgakocsi = CreateVehicle(565,VIZSGAKOCSI_POS,178.7419,6,6,-1);
    Attach3DTextLabelToVehicle(vizsgakocsitext,vizsgakocsi,0,0,2.0);
Create3DTextLabel(\"Itt a RENDÕRSÉG található!\", 0x00BBFFAA, 2196.9846, 1231.1384, 10.8203, 30.0, 0);
Create3DTextLabel(\"Jogosítvány Centrum\", 0x00FF00FAA, -1266.8993, 2715.8362, 50.2663, 30.0, 0);
Create3DTextLabel(\"EXIT\", 0xFFFFFFFAA, 1494.4973, 1304.9602, 1093.2891, 30.0, 0);
 
AddPlayerClass(282, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(185, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(186, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(192, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
//ATM
CreateObject(2942, 2023.5, 997.79998779297, 10.5, 0, 0, 90);
CreateObject(2942, 2239, 1283.5, 10.5, 0, 0, 270);
CreateObject(2942, 2090.5, 1458.9000244141, 10.5, 0, 0, 270);
CreateObject(2942, 2196.8999023438, 1680.8000488281, 12, 0, 0, 270);
CreateObject(2942, 2224.6999511719, 1846.5999755859, 10.5, 0, 0, 270);
//-----------------------------------------------------------------------
AddStaticVehicle(597,2211.50000000,1228.00000000,10.80000019,270.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(597,2211.80004883,1233.69995117,10.80000019,238.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(597,2200.10009766,1220.09997559,10.69999981,270.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(597,2206.19995117,1220.19995117,10.69999981,270.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(427,2213.50000000,1223.30004883,11.10000038,270.00000000,79,1,-1); //Enforcer
AddStaticVehicle(497,2214.39990234,1228.69995117,17.50000000,322.00000000,79,1,-1); //Police Maverick
AddStaticVehicle(596,-231.7924,2595.8274,62.4237,0.3110,1,44); // lspd
AddStaticVehicle(596,-228.7778,2596.3335,62.4232,1.1360,1,44); // lspd
AddStaticVehicle(596,-222.6500,2596.11
« Utoljára szerkesztve: 2012. május 13. - 21:13:19 írta Yakuza™ »

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #1 Dátum: 2012. május 13. - 21:09:44 »
0 Show voters
jónak hangzik, amint lejön végre a GTA megnézem, kicsit belenéztem, jónak tûnik (nem néztem át)

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #2 Dátum: 2012. május 13. - 21:11:21 »
0 Show voters
;)

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #3 Dátum: 2012. május 13. - 21:18:55 »
0 Show voters
Na ez dúrva! Kössz a publikálást fejleszteni fogom :D :)

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #4 Dátum: 2012. május 13. - 21:30:23 »
0 Show voters
;) oks

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #5 Dátum: 2012. május 13. - 22:12:52 »
0 Show voters
nekem ez a /tetszik tetszik :) szép

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #6 Dátum: 2012. május 14. - 07:15:16 »
0 Show voters
Nálam egy kicsit warningos... xÐ

Nem elérhető Dead

  • 2045
    • Profil megtekintése
Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #7 Dátum: 2012. május 14. - 07:22:32 »
0 Show voters
Hát javítása ki.  :D
Szép munka gg.

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #8 Dátum: 2012. május 13. - 21:04:12 »
0 Show voters
Amint irtam készítek egy EMR módot nem volt idõm befejezni de aki akarja fejezze be! :D
Lehet,hogy bugos,rossz lesz de fogadom ezeket a szavakat is mivel ez az elsõ nagy GM-em :D
Sor: 2849
Tartalmaz:
ATM Rablás
Rendõr parancsok (/rcmds,/rcmds2), Civil parancsok (/civilhelp)
Munkák
Mappolás
Jogsivétel
Pár NPC (Nem tom minek  :laugh:)
Nyitható/zárható kapu a rendörségnek
/tetszik parancs (Textdrawban mutassa,hogy hányan lájkolták a szervert)
/neon csak a wangcarsnál leeht ahol mappolva van a wangcars
Irányjelzõ szkript (Q és E)
Auqa park (Admin lazulás) (Készítette: Lu$ta)
Kis falu (Készítette: Szabyxxx)
Parancsokért: /cmds
Jármûkezelõ szkript (/motorki /motorbe /bezar /kinyit)
2 admin parancs (/kidob /kirug)
Telefon rendszer /telefon
Rendõrnek /felszereles
Borért /bor
ATM Rablás: /rabol
(Edit:
Szögesdrót a rendõrnek /szlerak /szfelvesz /szfelveszall)
Munkák:
Mentõs,Taxis,Autószerelõ
 
#include <a_samp>
#include <zcmd>
#include <fixchars.h>
#include <sscanf>
#include <dini>
#include <IsPlayerLAdmin>
#include <streamer>
#pragma tabsize 0
new Text:likeok;
new likes;
new like[256];
new likeolt[MAX_PLAYERS];
new kapu;
new npctaxi;
new npcveh;
new npcbusz;
new engine,lights,alarm,doors,bonnet,boot,objective;
new Text:Textdraw0;
new Text:Textdraw1;
new mtimer;
new tatimer;
new autimer;
new rendorseg2;
new rendorseg2ki;
new jogsicentrum;
new jogsicentrumki;
new rendorsegbe;
new rendorsegki;
new nev1[MAX_PLAYER_NAME], nev2[MAX_PLAYER_NAME], jogsi;
new nev3[MAX_PLAYER_NAME], nev4[MAX_PLAYER_NAME], fegyver;
new bool:ittas[MAX_PLAYERS];
forward borido(playerid);
new gTeam[MAX_PLAYERS];
#define RENDOR  0
#define CIVIL   1
#define MENTOS 2
#define TAXIS 3
#define AUTOSZERELO 4
#define FEHER   0xFFFFFFAA
#define NARANCS 0xFF9900AA
#define ZOLD 0x33FF33AA
#define SARGA   0xFFFF00AA
#define hiba    0xFF0000AA
#define DIALOGID 3577
#define fegyoar 20000
#define fegyopos 2204.3757,1236.5514,10.8203
#define tuningshop  -512.1392,2659.6636,71.5100
#define JOGSI_AR            5000
#define JOGSI_POS           246.2242,118.5236,1003.2188
#define VIZSGAKOCSI_POS     -1255.9142,2716.8379,49.8977
#define VIZSGA_MINUTE       59 // Perc
#define VIZSGA_SEC          30 // Másodperc
new
vizsgakocsi,
Text3D:vizsgakocsitext,
bool:vizsgazik[MAX_PLAYERS],
CP[MAX_PLAYERS] = -1,
str[128],
file[256],
pname[MAX_PLAYER_NAME],
VizsgaMinute[MAX_PLAYERS] = VIZSGA_MINUTE,
VizsgaSec[MAX_PLAYERS] = VIZSGA_SEC,
vizsgatimer[MAX_PLAYERS];
forward VizsgaTime(playerid);
//Irányjelzõ script
enum index2
{
obj1,
obj2,
bool:indexing
}
#define VEHICLE_NONE 0
#define VEHICLE_CAR 1
#define VEHICLE_BOAT 2
#define VEHICLE_TRAIN 3
#define VEHICLE_HELI 4
#define VEHICLE_PLANE 5
#define VEHICLE_BIKE 6
#define VEHICLE_MONSTERTRUCK 7
#define VEHICLE_QUADBIKE 8
#define VEHICLE_BMX 9
#define VEHICLE_TRAILER 10
new gs_vehicleTypes [] = {
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BOAT,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK, VEHICLE_CAR,
    VEHICLE_BOAT, VEHICLE_HELI, VEHICLE_BIKE, VEHICLE_TRAIN, VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_BOAT,
    VEHICLE_BOAT, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_PLANE,
    VEHICLE_BIKE, VEHICLE_BIKE, VEHICLE_BIKE, VEHICLE_PLANE, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_BIKE, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_QUADBIKE, VEHICLE_BOAT, VEHICLE_BOAT, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BMX, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BMX, VEHICLE_BMX, VEHICLE_PLANE, VEHICLE_PLANE, VEHICLE_PLANE,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_PLANE, VEHICLE_PLANE, VEHICLE_BIKE,
    VEHICLE_BIKE, VEHICLE_BIKE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_TRAIN,
    VEHICLE_TRAIN, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_PLANE,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK, VEHICLE_MONSTERTRUCK, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_HELI, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_TRAIN, VEHICLE_TRAIN, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_MONSTERTRUCK, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_BIKE, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_BIKE, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_TRAIN,
    VEHICLE_TRAILER, VEHICLE_PLANE, VEHICLE_PLANE, VEHICLE_CAR, VEHICLE_BOAT, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR, VEHICLE_CAR,
    VEHICLE_TRAILER, VEHICLE_TRAILER, VEHICLE_TRAILER, VEHICLE_CAR, VEHICLE_TRAILER, VEHICLE_TRAILER
};
stock indexcompatible(veh)
{
new model=GetVehicleModel(veh);
/*
new compatible=1;
switch(model)
{
    case 460,476,511,512,513,519,520,553,577,592,593,548,425,417,487,488,497,563,447,469,509,481,510,462,448,581,522,461,521,523,463,586,468,471,435,450,569,570,584,590,591,606,607,608,610,611,485,538,457,532,486,406,530,537,571,572,574,449,525,583,539,441,464,465,501,564,594,472..473,493,595,484,430,452..453,446,454:
    {
        compatible=0;
    }
}
*/
return (gs_vehicleTypes[model-400]==VEHICLE_CAR)?1:0;
}
new index[MAX_VEHICLES][index2];
forward indexf(vehicleid,oldal);
public indexf(vehicleid,oldal)
{
new v=vehicleid;
if(v!=INVALID_VEHICLE_ID)
{
index[v][obj1]=CreateObject(19294,0,0,0,0,0,0);
AttachObjectToVehicle(index[v][obj1],v,(oldal==0)?1:-1, 2.5, -0.2, 0,0,0);
index[v][obj2]=CreateObject(19294,0,0,0,0,0,0);
AttachObjectToVehicle(index[v][obj2],v,(oldal==0)?1:-1, -2.5, -0.2, 0,0,0);
index[v][indexing]=true;
}
return 1;
}
// PRESSED(keys)
#define PRESSED(%0) \\
(((newkeys & (%0)) == (%0)) && ((oldkeys & (%0)) != (%0)))
//------------------------------------------------------------------------
main()
{
print(\"\\n----------------------------------\");
print(\" Elit Magyar Rendõrség Betöltve\");
print(\"        Mód By [EMR]eXe\");
print(\"----------------------------------\\n\");
}
public OnPlayerConnect(playerid)
{
        TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
          PlayAudioStreamForPlayer(playerid, \"http://webvilagserver1.jatekoldal.net/udvozollek.ogg\");
          GameTextForPlayer(playerid,\"~y~]~b~ELIT MAGYAR RENDÕRSÉG~y~]\",6000,4);
SendClientMessage(playerid, -1,  \"{ffffff}Üdvözöllek a {00bbff}[H][N] <[>{ffff00}Elit Magyar Rendõrség{00bbff}<]> [H][N] {ffffff}szerveren.\");
       SendClientMessage(playerid, -1, \"{00bbff}Érdemes spawnolás után jogosítványt,fegyverengedélyt venni! /jogsivesz /fegyovesz\");
       SendClientMessage(playerid, -1, \"{00bbff}A szerveren tudsz házakat venni és munkákat vállalni! /munkak\");
       SetPlayerTeam(playerid, 0);
       SetPVarInt(playerid, \"Lecsukott\", 0);
       likeolt[playerid] = 0;
format(like,sizeof(like),\"Tetszik: %d\",likes);
   TextDrawShowForAll(likeok);
   TextDrawSetString(likeok, like);
        return 1;
}
CMD:civilhelp(playerid, params[])
{
SendClientMessage(playerid, -1, \"{00ff00}Parancsokhoz: {ffff00}/cmds {ffffff}| {00ff00}Elérhetõ rendõrök/admminokhoz: {ffff00}/admins {ffffff}| {00ff00}Telefon: {ffff00}/telefon\");
return 1;
}
CMD:tetszik(playerid)
{
if(likeolt[playerid] == 0) {
likes++;
likeolt[playerid] = 1;
dini_IntSet(\"Likeok.ini\", \"Likeok\", likes);
format(like,sizeof(like),\"Tetszikelések: %d\",likes);
   TextDrawSetString(likeok, like);
   }else{
SendClientMessage(playerid,0x00ff11AA,\"Csatlakozásonként csak 1-szer likeolhatsz!\"); }
return 1;
}
CMD:ny(playerid, params[])
{
        if(IsPlayerLAdmin(playerid))
        {
          SetTimerEx(\"kaputimer\", 5000, false, \"i\", playerid);
SendClientMessage(playerid,ZOLD,\"A kapu 5 másodperc múlva bezárul!\");
        MoveObject(kapu, -212.60000610352, 2612.1000976563, 63.400001525879, 4.0);
        }
        else
        {
        SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy rendõr!\");
        }
   return 1;
}
CMD:aquapark(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
SetPlayerPos(playerid, -2910.9829,-188.5926,13.6229);
SendClientMessage(playerid, 0x00FF00AA, \"Sikeresen elteleportáltál az {ff0000}Aqua Parkba! {00ffff}Mappot készítette: {00bbff}<[Lu$ta]>\");
}
else
{
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy admin!\");
}
return 1;
}
CMD:kisfalu(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
SetPlayerPos(playerid, 2893.4719,2171.4329,10.8203);
SendClientMessage(playerid, 0x00FF00AA, \"Sikeresen elteleportáltál a {ff0000}Kisfalura! {00ffff}Mappot készítette: {00bbff}Szabyxxx\");
}
else
{
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy admin!\");
}
return 1;
}
CMD:javit(playerid, params[])
{
        if(GetPlayerTeam(playerid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autószerelõ!\");
        if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autószerelõ!\");
        if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autószerelõ!\");
       
   for( new i = 0; i <MAX_VEHICLES; i++ )
   {
        new Float:Pos[3];
        GetVehiclePos(i,Pos[0],Pos[1],Pos[2]);
        if(IsPlayerInRangeOfPoint(playerid,5.0,Pos[0],Pos[1],Pos[2]))
        {
         RepairVehicle(i);
         SendClientMessage(playerid, 0x33CCFFAA, \"Megjavítottad a jármûvet!\");
         break;
         }
}
return 1;
}
CMD:bezar(playerid, params[])
                {
                        if(IsPlayerInAnyVehicle(playerid))
                        {
                                new State=GetPlayerState(playerid);
                                if(State!=PLAYER_STATE_DRIVER)
                                {
                                        SendClientMessage(playerid,0xFF0000AA,\"Nem zárhatod be!\");
                                        return 1;
                                }
                                new i;
                                for(i=0;i<MAX_PLAYERS;i++)
                                {
                                        if(i != playerid)
                                        {
                SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1);
                }
}
        SendClientMessage(playerid, 0xFF0000AA, \"Bezártad az ajtókat!\");
        new Float:pX, Float:pY, Float:pZ;
        GetPlayerPos(playerid,pX,pY,pZ);
    PlayerPlaySound(playerid,1056,pX,pY,pZ);
        GameTextForPlayer(playerid, \"~r~Zárva!\",8000,5);
        }
    else
    {
    SendClientMessage(playerid, 0xFFFF00AA, \"Nem vagy autóban!\");
    }
        return 1;
        }
        CMD:kinyit(playerid, params[])
        {
                if(IsPlayerInAnyVehicle(playerid))
                {
                        new State=GetPlayerState(playerid);
                        if(State!=PLAYER_STATE_DRIVER)
                        {
                                SendClientMessage(playerid,0xFFFF00AA,\"Nem nyithatod ki.\");
                                return 1;
                        }
                        new i;
                        for(i=0;i<MAX_PLAYERS;i++)
                        {
                                SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0);
                        }
                        SendClientMessage(playerid, 0x00FF00AA, \"Ajtó nyitva!\");
                        new Float:pX, Float:pY, Float:pZ;
                        GetPlayerPos(playerid,pX,pY,pZ);
                        PlayerPlaySound(playerid,1057,pX,pY,pZ);
         GameTextForPlayer(playerid, \"~g~Nyitva!\",8000,5);
       }
       else
       {
          SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy autóban!\");
     }
        return 1;
}
CMD:motorbe(playerid, params[])
{
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID)
    GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
   SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
   return 1;
   }
   CMD:motorki(playerid, params[])
   {
   new vid = GetPlayerVehicleID(playerid);
   if(vid != INVALID_VEHICLE_ID)
    GetVehicleParamsEx(vid,engine,lights,alarm,doors,bonnet,boot,objective);
    SetVehicleParamsEx(vid,VEHICLE_PARAMS_OFF,lights,alarm,doors,bonnet,boot,objective);
   return 1;
   }
CMD:cmds(playerid, params[])
{
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, \"Parancsok\", \"{ff0000}/bor\\n/bezar\\n{ffffff}/kinyit\\n{00ff00}/motorbe\\n/motorki\\n/rabol\\n/tetszik\\n/neon\\n\\nA parancsok még bõvülnek! By [EMR]eXe\",\"OK\",\"\");
return 1;
}
CMD:heal(playerid, params[])
{
         new
         string[255],
         giveplayerid;
         if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
         if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid,0xFF0000AA, \"Használat: /heal <ID>\");
         if(GetPlayerTeam(playerid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
         if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
         if(GetPlayerTeam(playerid) == 3) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy mentõs!\");
         if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
 new t[MAX_PLAYER_NAME];
 GetPlayerName(playerid, t, sizeof(t));
 new t1[MAX_PLAYER_NAME];
 GetPlayerName(giveplayerid, t1, sizeof(t1));
 format(string, sizeof(string), \"{ff0000}[MENTÕS,%s] {ffffff}Feltöltötte %s életét!\", t, t1);
    SendClientMessageToAll(0x33CCFFAA,string);
    SetPlayerHealth(giveplayerid, 100);
    return 1;
}
CMD:felmond(playerid, params[])
{
if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
if(GetPlayerTeam(playerid) == 0) return SendClientMessage(playerid, 0xFF0000AA, \"Nincs munkád!\");
        if(GetPlayerTeam(playerid) == 1)
        {
KillTimer(tatimer);
}
if(GetPlayerTeam(playerid) == 2)
{
KillTimer(mtimer);
}
if(GetPlayerTeam(playerid) == 3)
{
KillTimer(autimer);
}
SetPlayerTeam(playerid, 0);
SendClientMessage(playerid, SARGA, \"Felmondtál az állásodból!\");
GameTextForPlayer(playerid, \"~h~~l~Felmondtál!\", 3000, 4);
SetPlayerPos(playerid, -249.8684,2609.4885,62.8582);
return 1;
}
CMD:munkak(playerid, params[])
{
if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
ShowPlayerDialog(playerid, 6817, DIALOG_STYLE_LIST, \"Munkák\", \"{ffff00}Taxis\\n{ff0000}Mentõs\\n{6b8e23}Autó Szerelõ\",\"Elvállalom\",\"Mégsem\");
return 1;
}
CMD:kirug(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
new giveplayerid, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if(sscanf(params, \"us\", giveplayerid, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /kirug [playerid] [indok]\");
if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ff0000}[ADMIN,%s]:{b3d5b2} Kirúgta %s -t {00bbff}[indok: %s]\", name, name2, indok);
SendClientMessageToAll(0xB3D5B2AA,string);
Ban(giveplayerid);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy admin!\");
}
return 1;
}
CMD:kidob(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
new giveplayerid, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if(sscanf(params, \"us\", giveplayerid, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /kidob [playerid] [indok]\");
if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ff0000}[ADMIN,%s]:{b3d5b2} Kidobta %s -t {00bbff}[indok: %s]\", name, name2, indok);
SendClientMessageToAll(0xB3D5B2AA,string);
Kick(giveplayerid);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy admin!\");
}
return 1;
}
CMD:rcmds(playerid, params[])
{
    if(IsPlayerLAdmin(playerid))
{
SendClientMessage(playerid, -1, \"{00bbff}Állj 1: {ffffff}/a1\");
SendClientMessage(playerid, -1, \"{00bbff}Állj 2: {ffffff}/a3\");
SendClientMessage(playerid, -1, \"{00bbff}Állj 3: {ffffff}/a2\");
SendClientMessage(playerid, -1, \"{00bbff}Igazoltatás: {ffffff}/i\");
SendClientMessage(playerid, -1, \"{00bbff}Papírokat: {ffffff}/p\");
SendClientMessage(playerid, -1, \"{00bbff}Szonda: {ffffff}/szonda\");
SendClientMessage(playerid, -1, \"{00bbff}Szálljon ki/le: {ffffff}/szl\");
SendClientMessage(playerid, -1, \"{ffffff}További parancsok: {00bbff}/rcmds2\");
}
else
        {
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:rcmds2(playerid, params[])
{
    if(IsPlayerLAdmin(playerid))
        {
SendClientMessage(playerid, -1, \"{00bbff}Felszerelés: {ffffff}/felszereles\");
SendClientMessage(playerid, -1, \"{00bbff}Jogosítvány elvétel: {ffffff}/jogsielvesz\");
SendClientMessage(playerid, -1, \"{00bbff}Fegyverengedély elvétel: {ffffff}/fegyoelvesz\");
SendClientMessage(playerid, -1, \"{00bbff}Bilincs: {ffffff}/bilincs\");
SendClientMessage(playerid, -1, \"{00bbff}Bilincs levétele: {ffffff}/levesz\");
SendClientMessage(playerid, -1, \"{00bbff}Börtönbe zárás: {ffffff}/lecsuk\");
SendClientMessage(playerid, -1, \"{00bbff}Szögesdrót lerakás: {ffffff}/szlerak\");
SendClientMessage(playerid, -1, \"{00bbff}Szögesdrót felvétele: {ffffff}/szfelvesz\");
SendClientMessage(playerid, -1, \"{00bbff}Összes szögesdrót felvétele: {ffffff}/szfelveszall\");
}
else
        {
SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:telefon(playerid, params[])
{
if(GetPVarInt(playerid, \"Lecsukott\") == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Nem használhatod ezt a parancsot börtönben!\");
        ShowPlayerDialog(playerid, 38, DIALOG_STYLE_LIST, \"Telefon\", \"{ffff00}Taxi\\n{0000ff}Rendõr\\n{ff0000}Mentõ\\n{6b8e23}Autó Szerelõ\",\"Felhív\",\"Leteszem\");
return 1;
}
CMD:felszereles(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
SendClientMessage(playerid, -1, \"{FF0000}Felvetted a felszerelésed\");
        GivePlayerWeapon(playerid,31,2000);
        GivePlayerWeapon(playerid,25,2000);
        GivePlayerWeapon(playerid,29,2000);
        GivePlayerWeapon(playerid,24,2000);
        GivePlayerWeapon(playerid,3,2000);
SetPlayerArmour(playerid, 100);
}
else
{
SendClientMessage(playerid, -1, \"{FF0000}Nem vagy rendõr!\");
}
return 1;
}
CMD:jogsimutat(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /jogsimutat [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Nincs ilyen játékos!\");
GetPlayerName(playerid, nev1, sizeof(nev1));
format(string, sizeof string, \"| %s megmutatta a jogosítványát! |\",nev1);
SendClientMessage(giveplayerid,0x73ff00AA,string);
SendClientMessage(playerid, 0x00eeffAA, \"Megmutattad a jogosítványodat!\");
format(string2, sizeof(string2), \"Jogositvanyok/%s.ini\", nev1);
if(fexist(string2)){
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Jogosítvány: {00ff09}van\");
}else{
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Jogosítvány: {ff0000}nincs\"); }
return 1;
}
CMD:jogsielvesz(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(!IsPlayerLAdmin(playerid)) return SendClientMessage(playerid, hiba, \"Hiba: Nem vagy rendõr!\");
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /jogsielvesz [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, nev1, sizeof(nev1));
GetPlayerName(giveplayerid, nev2, sizeof(nev2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s] {00bbff}Elvette %s jogosítványát! \",nev1, nev2);
SendClientMessageToAll(0x00ffeaAA,string);
format(string2, sizeof(string2), \"Jogositvanyok/%s.ini\", nev2);
if(fexist(string2)){
   dini_Remove(string2);
}else{
   SendClientMessage(giveplayerid, 0xffbf00AA, \"A játékosnak nincs jogosítványa!\");}
return 1;
}
CMD:jogsivesz(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid,8.0,JOGSI_POS)) return SendClientMessage(playerid,hiba,\"Nem vagy a jogsicentrumnál!\");
if(GetPlayerMoney(playerid) < JOGSI_AR) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed!\");
format(file,sizeof(file),\"Jogositvanyok/%s.ini\",pName(playerid));
if(fexist(file)) return SendClientMessage(playerid,hiba,\"Neked már van jogosítványod!\");
if(vizsgazik[playerid] == true) return SendClientMessage(playerid,hiba,\"Te már vizsgázol!\");
SendClientMessage(playerid,NARANCS,\"Kifizetted a tanfolyamot. Most menj a ki a vizsga kocsihoz!\");
SetPlayerCheckpoint(playerid,VIZSGAKOCSI_POS,4.0);
GivePlayerMoney(playerid, - JOGSI_AR);
vizsgazik[playerid] = true;
return 1;
}
CMD:neon(playerid, params[])
{
if(!IsPlayerInRangeOfPoint(playerid,7.0,tuningshop)) return SendClientMessage(playerid, 0xFF0000AA, \"Nem vagy a tuning shoppnál!\");
       ShowPlayerDialog(playerid, 4168, DIALOG_STYLE_LIST, \"NEON MENÜ\", \"Kék\\nPiros\\nZöld\\nFehér\\nRózsaszín\\nSárga\\nMinden neon levétele\", \"Megvesz\", \"Kilépés\");
return 1;
}
CMD:fegyovesz(playerid, params[])
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0, fegyopos)) {
new string[128];
GetPlayerName(playerid, nev3, sizeof(nev3));
format(string, sizeof(string), \"Fegyverengedelyek/%s.ini\", nev3);
if(fexist(string)){
   SendClientMessage(playerid, 0xFF0000AA, \"Már van fegyver engedélyed!\");
}else{
     if(GetPlayerMoney(playerid) >= fegyoar) {SendClientMessage(playerid, 0x38FF06FF, \"Megvetted a fegyver engedélyt!\" ); dini_Create(string); GivePlayerMoney(playerid, -fegyoar); }else{ SendClientMessage(playerid, hiba, \"Nincs elegendõ pénzed a fegyver engedélyhez!!\" ); }}
        }else{
   SendClientMessage(playerid, 0x0088ffAA, \"Bejelöltük a térképeden a rendõrséget!\"); fegyver = SetPlayerCheckpoint(playerid, fegyopos, 3.0); }
return 1;
}
CMD:fegyomutat(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /fegyomutat [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Nincs ilyen játékos!\");
GetPlayerName(playerid, nev3, sizeof(nev3));
format(string, sizeof string, \"{ffffff}| {00bbff}%s {ffffff}megmutatta a fegyver engedélyét! |\",nev3);
SendClientMessage(giveplayerid,0x73ff00AA,string);
SendClientMessage(playerid, 0x00eeffAA, \"Megmutattad a fegyver engedélyed!\");
format(string2, sizeof(string2), \"Fegyverengedelyek/%s.ini\", nev3);
if(fexist(string2)){
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Fegyver engedély: {00ff09}van\");
}else{
   SendClientMessage(giveplayerid, 0xffaa00AA, \"Fegyver engedély: {ff0000}nincs\"); }
return 1;
}
CMD:fegyoelvesz(playerid, params[])
{
new giveplayerid, string[128], string2[128];
if(!IsPlayerLAdmin(playerid)) return SendClientMessage(playerid, hiba, \"Hiba: Nem vagy rendõr!\");
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, hiba, \"Használd: /fegyoelvesz [játékos id]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, hiba, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, nev3, sizeof(nev3));
GetPlayerName(giveplayerid, nev4, sizeof(nev4));
format(string, sizeof string, \"%s elvette %s fegyver engedélyét! \",nev3, nev4);
SendClientMessageToAll(0x00ffeaAA,string);
ResetPlayerWeapons(playerid);
format(string2, sizeof(string2), \"Fegyverengedelyek/%s.ini\", nev4);
if(fexist(string2)){
   dini_Remove(string2);
}else{
   SendClientMessage(giveplayerid, 0xffbf00AA, \"A játékosnak nincs fegyver engedélye!\");}
return 1;
}
CMD:i(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /i [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Kérem álljon félre {b22222}%s, {00bbff}igazoltatás!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:p(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /p [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} %s papírokat kérnék! {b22222}[[/jogsimutat %s]]\",name, illeto, name, name);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:a1(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /a1 [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]: {b22222}%s ! {00bbff}Itt a rendõrség, álljon meg!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:a2(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /a2 [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]: {b22222}%s ! {00bbff}Ha nem áll meg kénytelenek leszünk tüzet nyitni!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:a3(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /a3 [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]: {b22222}%s ! {00bbff}Utolsó figyelmeztetés! Ha nem áll meg tüzelünk!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:szl(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /szl [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Itt a rendõrség, szálljon ki/le {b22222}%s!\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:szonda(playerid, params[])
{
new giveplayerid;
if(sscanf(params, \"u\", giveplayerid)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat: /szonda [playerid]\");
if(giveplayerid == INVALID_PLAYER_ID) return SendClientMessage(playerid, 0xFF0000AA, \"Hiba: Nincs ilyen játékos!\");
               if(IsPlayerLAdmin(playerid))
        {
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
new illeto[MAX_PLAYER_NAME];
GetPlayerName(giveplayerid, illeto, sizeof(illeto));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Kérem fújjon bele a szondába %s! {b22222}[[/fuj]]\",name, illeto);
SendClientMessageToAll(0x00ff1eAA,string);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
CMD:bor(playerid, params[])
{
ittas[playerid] = true;
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_WINE);
SetTimer(\"borido\", 60000*10, false);
    SendClientMessage(playerid,0x00ff33AA,\"Úgydöntöttél iszol egy üveg bort!\");
return 1;
}
public borido(playerid)
{
ittas[playerid] = false;
    SendClientMessage(playerid,0x00ff33AA,\"Kiürült az alkohol a szervezetedbõl!\");
}
CMD:fuj(playerid, params[])
{
if(ittas[playerid] == true)
{
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof string, \"%s belefújt a szondába. Eredménye: {b22222}Ittas\", name);
SendClientMessageToAll(0xff8c00AA,string);
}
else
{
new name[MAX_PLAYER_NAME],string[200];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof string, \"%s belefújt a szondába. Eredménye: {00ff00}Tiszta\", name);
SendClientMessageToAll(0xff8c00AA,string);
}
return 1;
}
CMD:bilincs(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
        new giveplayerid, string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /bilincs  <playerid>\");
else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
else{
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Megbilincselte {b22222}%s-t!\", name, name2);
        SendClientMessageToAll(0xB3D5B2AA,string);
        TogglePlayerControllable(giveplayerid,0);
        }
}
    return 1;
}
CMD:levesz(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
        new giveplayerid, string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
       if (sscanf(params, \"u\", giveplayerid)) SendClientMessage(playerid, 0xFF0000FF, \"Használat: /levesz <playerid>\");
else if (giveplayerid == INVALID_PLAYER_ID) SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
else{
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Levette a bilincset {b22222}%s{00bbff}-ról/rõl.\", name,name2);
        SendClientMessageToAll(0xFF0000FF,string);
        TogglePlayerControllable(giveplayerid,1);
          }
}
             return 1;
}
CMD:lecsuk(playerid, params[])
{
if(IsPlayerLAdmin(playerid))
{
new giveplayerid, ido, indok[128], string[128], name[MAX_PLAYER_NAME], name2[MAX_PLAYER_NAME];
if(sscanf(params, \"uds\", giveplayerid, ido, indok)) return SendClientMessage(playerid, 0xFF0000FF, \"Használat: /lecsuk [playerid] [perc] [indok]\");
if(!IsPlayerConnected(giveplayerid) || 0 > giveplayerid || giveplayerid > MAX_PLAYERS) return SendClientMessage(playerid, 0xFF0000FF, \"Hiba: Nincs ilyen játékos!\");
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(giveplayerid, name2, sizeof(name2));
format(string, sizeof string, \"{ffffff}[RENDÕR,%s]:{00bbff} Börtönbe zárta %s -t {b22222}[[Perc: %d]] [[indok: %s]]\", name, name2, ido, indok);
SendClientMessageToAll(0xB3D5B2AA,string);
ido *= 60000;
SetTimerEx(\"Bortonido\",ido,false,\"d\",giveplayerid);
SetPlayerPos(giveplayerid,2199.7134,1224.0686,10.8203);
SetPlayerInterior(giveplayerid, 0);
SetPVarInt(playerid, \"Lecsukott\", 1);
}
else
{
SendClientMessage(playerid, hiba, \"Nem vagy rendõr!\");
}
return 1;
}
forward Bortonido(playerid);
public Bortonido(playerid)
{
SpawnPlayer(playerid);
return 1;
}
CMD:rabol(playerid, params[])
{
if(gTeam[playerid] == RENDOR) return SendClientMessage(playerid, 0xFF0000AA, \"Megne próbálj rendvédelmisként rabolni!\");
     if(GetPVarInt(playerid,\"rabol\")==1)
      {
      SendClientMessage(playerid,hiba,\"Már raboltál! 5 perc múlva újra rabolhatsz!\");
      }
      if(GetPVarInt(playerid,\"rabol\")==0)
      {
      if(IsPlayerInRangeOfPoint(playerid,1.0,2023.5, 997.79998779297, 10.5) || IsPlayerInRangeOfPoint(playerid,1.0, 2239, 1283.5, 10.5) || IsPlayerInRangeOfPoint(playerid,1.0, 2090.5, 1458.9000244141, 10.5) || IsPlayerInRangeOfPoint(playerid,1.0,2196.8999023438, 1680.8000488281, 12) || IsPlayerInRangeOfPoint(playerid,1.0,2224.6999511719, 1846.5999755859, 10.5))
      {
      SendClientMessage(playerid,hiba,\"Belerúgtál egy ATM-be!\");
      TogglePlayerControllable(playerid,0);
      SetPlayerWantedLevel(playerid,2);
      SetPlayerColor(playerid, 0xFF0000AA);
      SetPVarInt(playerid,\"rabol\",1);
      SendClientMessageToAll(hiba,\"[RIASZTÁS]: Kirabolták az eggyik ATM-et!\");
      SendClientMessage(playerid, hiba, \"Kiraboltál egy ATM-et!\");
      SetTimerEx(\"rabolas\",15000,0,\"i\",playerid);
      }
      else
      {
      SendClientMessage(playerid,hiba,\"Nem vagy ATM közelébe!\");
      }
      }
      return 1;
}
forward rabolas(playerid);
public rabolas(playerid)
{
  new rcash =(random(50000-10000)+10000);
      TogglePlayerControllable(playerid,1);
      GivePlayerMoney(playerid, rcash);
      SendClientMessage(playerid,NARANCS,\"Sikeresen kiraboltad az ATM-et!\");
      SetTimerEx(\"rabolasido\",300000,0,\"i\",playerid);
}
forward rabolasido(playerid);
public rabolasido(playerid)
{
      SendClientMessage(playerid,ZOLD,\"Letelt az idõd! Újra rabolhatsz!\");
      SetPVarInt(playerid,\"rabol\",0);
      SetPlayerWantedLevel(playerid,0);
      return 1;
}
public OnDialogResponse (playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 38)
{
if(response)
    {
        if(listitem == 0)
        {
   if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, hiba, \"Te már jármûben vagy!\");
   new tName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, tName, sizeof(tName));
   format(string, sizeof(string), \"[HÍVÁS] %s taxit hívott!\", tName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, SARGA, \"Taxit hívtál! Maradj a helyszínen!\");
   }
   if(listitem == 1)
        {
             new rName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, rName, sizeof(rName));
   format(string, sizeof(string), \"[HÍVÁS] {00bbff}%s rendõrt hívott!\", rName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, -1, \"{00bbff}Felhívtad a rendõröket. Maradj a helyszínen!\");
   }
   if(listitem == 2)
        {
   new mName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, mName, sizeof(mName));
   format(string, sizeof(string), \"[HÍVÁS] {ff0000}%s mentõt hívott!\", mName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, hiba, \"Felhívtad a mentõket. Maradj a helyszínen!\");
   }
   if(listitem == 3)
        {
   new auName[MAX_PLAYER_NAME];
   new string[256];
   GetPlayerName(playerid, auName, sizeof(auName));
   format(string, sizeof(string), \"[HÍVÁS] {ff0000}%s autószerelõt hívott!\", auName);
   SendClientMessageToAll(SARGA, string);
   SendClientMessage(playerid, hiba, \"Felhívtad az szerelõket. Maradj a helyszínen!\");
   }
         }
}
if(dialogid == 6817)
{
if(response)
{
   if(listitem == 0)
        {
   new string[255];
   if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Már dolgozol!\");
   if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! \'MENTÕS\' \");
   SetPlayerTeam(playerid, 1);
   SetPlayerSkin(playerid, 19);
   SetPlayerPos(playerid, -248.2956,2662.7441,62.6875);
   tatimer = SetTimer(\"taxistimer\",3000,false, \"i\", playerid);
   SendClientMessage(playerid, SARGA, \"Mostantól taxisként dolgozol!\");
   SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");
   SendClientMessage(playerid, FEHER, \"3 percenként kapsz fizetést!\");
   new taxis[MAX_PLAYER_NAME];
   GetPlayerName(playerid, taxis, sizeof(taxis));
   format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól taxisként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",taxis);
   SendClientMessageToAll(0x00ff1eAA,string);
   }
   if(listitem == 1)
        {
          new string[255];
   if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Már dolgozol!\");
   if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! \'TAXIS\' \");
   SetPlayerTeam(playerid, 2);
   SetPlayerSkin(playerid, 276);
   SetPlayerPos(playerid, -459.6500,2701.6978,62.6410);
   mtimer = SetTimer(\"mentostimer\",1000*60*3,false, \"i\", playerid);
   SendClientMessage(playerid, hiba, \"Mostantól mentõsként dolgozol!\");
   SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");
   SendClientMessage(playerid, FEHER, \"3 percenként kapsz fizetést!\");
   SendClientMessage(playerid, FEHER, \"Hogy segíts másokon: /heal [iD]\");
   new mentos[MAX_PLAYER_NAME];
   GetPlayerName(playerid, mentos, sizeof(mentos));
   format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól mentõsként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",mentos);
   SendClientMessageToAll(0x00ff1eAA,string);
   }
   if(listitem == 2)
        {
        new string[255];
   if(GetPlayerTeam(playerid) == 3) return SendClientMessage(playerid, 0xFF0000AA, \"Már dolgozol!\");
   if(GetPlayerTeam(playerid) == 2) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! \'MENTÕS\' \");
   if(GetPlayerTeam(playerid) == 1) return SendClientMessage(playerid, 0xFF0000AA, \"Már van állásod! TAXIS\' \");
   SetPlayerTeam(playerid, 3);
   SetPlayerSkin(playerid, 50);
   SetPlayerPos(playerid, -322.4567,2675.7900,63.6797);
   autimer = SetTimer(\"sztimer\",1000*60*3,false, \"i\", playerid);
   SendClientMessage(playerid, ZOLD, \"Mostantól autószerelõsként dolgozol!\");
   SendClientMessage(playerid, FEHER, \"Ha felakarsz mondani /felmond\");
   SendClientMessage(playerid, FEHER, \"Javítani a /javit parancsal tudsz\");
   SendClientMessage(playerid, FEHER, \"Autókat tudsz vontatni: CTRL,ALT GR,ALT\");
   SendClientMessage(playerid, FEHER, \"3 percenként kapsz fizetést!\");
   new autoszer[MAX_PLAYER_NAME];
   GetPlayerName(playerid, autoszer, sizeof(autoszer));
   format(string, sizeof string, \"{ffffff}%s {00ff1e}mostantól autószerelõként dolgozik! {00ff00}Hívhatod a {ff0000}/telefon {00ff00}parancsal.\",autoszer);
   SendClientMessageToAll(0x00ff1eAA,string);
   }
   }
}
if(dialogid == 4168)
{
if(response)
{
   if(listitem == 0)
        {
      if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
      GivePlayerMoney(playerid,-86000);
               SetPVarInt(playerid, \"Neon\", CreateObject(18648,0,0,0,0,0,0));
                  SetPVarInt(playerid, \"Neon1\", CreateObject(18648,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonk\", CreateObject(18648,0,0,0,0,0,0,90));
                SetPVarInt(playerid, \"elsonk\", CreateObject(18648,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsonk\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonk\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"Neon\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
               AttachObjectToVehicle(GetPVarInt(playerid, \"Neon1\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 1)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon2\", CreateObject(18647,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon3\", CreateObject(18647,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonp\", CreateObject(18647,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonp\", CreateObject(18647,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsonp\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonp\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon2\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon3\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 2)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon4\", CreateObject(18649,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon5\", CreateObject(18649,0,0,0,0,0,0));
                SetPVarInt(playerid, \"elsonz\", CreateObject(18649,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"hatsonz\", CreateObject(18649,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonz\"), GetPlayerVehicleID(playerid), -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"elsonz\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon4\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon5\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
          }
   if(listitem == 3)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
                SetPVarInt(playerid, \"neon6\", CreateObject(18652,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon7\", CreateObject(18652,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonf\", CreateObject(18652,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonf\", CreateObject(18652,0,0,0,0,0,0,80));
        AttachObjectToVehicle(GetPVarInt(playerid, \"elsonf\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonf\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon6\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon7\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 4)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon8\", CreateObject(18651,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon9\", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsonr\", CreateObject(18651,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsonr\", CreateObject(18651,0,0,0,0,0,0,80));
        AttachObjectToVehicle(GetPVarInt(playerid, \"elsonr\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsonr\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon8\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon9\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
   if(listitem == 5)
   {
   if(GetPlayerMoney(playerid) < 86000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (86000$ kell!)\");
                GivePlayerMoney(playerid,-86000);
      SetPVarInt(playerid, \"Status\", 1);
            SetPVarInt(playerid, \"neon10\", CreateObject(18650,0,0,0,0,0,0));
            SetPVarInt(playerid, \"neon11\", CreateObject(18650,0,0,0,0,0,0));
                SetPVarInt(playerid, \"hatsons\", CreateObject(18650,0,0,0,0,0,0,80));
                SetPVarInt(playerid, \"elsons\", CreateObject(18650,0,0,0,0,0,0,80));
                AttachObjectToVehicle(GetPVarInt(playerid, \"elsons\"), GetPlayerVehicleID(playerid), 0.000000, 2.499999, -0.400000, 0.000000, 4.000000, 88.000000 );
      AttachObjectToVehicle(GetPVarInt(playerid, \"hatsons\"), GetPlayerVehicleID(playerid),  -0.0, -2.0, -0.65, 0, 0.0, 88.000000);
      AttachObjectToVehicle(GetPVarInt(playerid, \"neon10\"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, \"neon11\"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, 0xFFFFFFAA, \"A kért neon felszerelve\");
   }
           if(listitem == 6)
   {
   if(GetPlayerMoney(playerid) < 1000) return SendClientMessage(playerid,hiba,\"Nincs elég pénzed! (1000$ kell!)\");
            GivePlayerMoney(playerid,-1000);
   DestroyObject(GetPVarInt(playerid, \"neon\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon2\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon3\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon4\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon5\"));
      DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon6\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon7\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon8\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon9\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon10\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon11\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon12\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"neon13\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"interior\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"interior1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"back\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"back1\"));
            DeletePVar(playerid, \"Status\");
      DestroyObject(GetPVarInt(playerid, \"front\"));
      DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"front1\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"undercover\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"undercover1\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonk\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonk\"));
            DeletePVar(playerid, \"Status\");
            DestroyObject(GetPVarInt(playerid, \"hatsonp\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonp\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonz\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonz\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonf\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonf\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsonr\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsonr\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"hatsons\"));
            DeletePVar(playerid, \"Status\");
                DestroyObject(GetPVarInt(playerid, \"elsons\"));
            DeletePVar(playerid, \"Status\");
      }
}
}
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
        if(classid >= 0 && classid <= 0)
{
gTeam[playerid] = RENDOR;
GameTextForPlayer(playerid, \"~b~RENDÕR(ADMIN)\", 3000, 3);
SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2205.1873,1237.8591,10.8203);
    SetPlayerFacingAngle(playerid, 94.0821);
    SetPlayerCameraPos(playerid, 2201.3657,1237.5986,10.8203);
        SetPlayerCameraLookAt(playerid, 2201.3657,1237.5986,10.8203);
ApplyAnimation(playerid,\"PED\",\"IDLE_CHAT\",4.0,1,1,1,1,1);
        }else if(classid >= 1 && classid <= 5)
        {
        gTeam[playerid] = CIVIL;
GameTextForPlayer(playerid, \"~w~CIVIL\", 3000, 4);
SetPlayerInterior(playerid, 0);
    SetPlayerPos(playerid, 2212.6987,973.3299,10.6719);
    SetPlayerFacingAngle(playerid, 94.0821);
    SetPlayerCameraPos(playerid, 2204.0127,973.3420,10.6719);
        SetPlayerCameraLookAt(playerid, 2204.0127,973.3420,10.6719);
        }
    return 1;
}
public OnPlayerKeyStateChange(playerid,newkeys,oldkeys)
{
if(GetPlayerState(playerid)==PLAYER_STATE_DRIVER)
{
    if(PRESSED(KEY_LOOK_LEFT)||PRESSED(KEY_LOOK_RIGHT))
    {
    new veh=GetPlayerVehicleID(playerid);
    if(index[veh][indexing])
    {
        DestroyObject(index[veh][obj1]);
        DestroyObject(index[veh][obj2]);
        index[veh][indexing]=false;
    } else {
        if(indexcompatible(veh))
        {
               new oldal2=(PRESSED(KEY_LOOK_LEFT))?1:0;
               indexf(veh,oldal2);
      }
   }
}
}
return 1;
}
public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Text:Textdraw0);
    TextDrawShowForPlayer(playerid, Text:Textdraw1);
    SetPlayerTeam(playerid, 0);
    if(gTeam[playerid] == RENDOR)
if(IsPlayerLAdmin(playerid))
    {
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -234.2092,2591.1311,62.8808);
SetPlayerColor(playerid,FEHER);
        GivePlayerWeapon(playerid,31,2000);
        GivePlayerWeapon(playerid,25,2000);
        GivePlayerWeapon(playerid,29,2000);
        GivePlayerWeapon(playerid,24,2000);
        GivePlayerWeapon(playerid,3,2000);
SetPlayerArmour(playerid, 100);
}
else
{
        GameTextForPlayer(playerid,\"~r~Nem vagy admin!\", 3000, 3);
        SetPlayerPos(playerid, -234.2092,2591.1311,62.8808);
SetPlayerHealth(playerid, 0.0);
          ForceClassSelection(playerid);
          }
    else if(gTeam[playerid] == CIVIL)
    {
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -249.8684,2609.4885,62.8582);
     }
if (IsPlayerNPC (playerid))
     {
      new npcname [MAX_PLAYER_NAME];
      GetPlayerName (playerid, npcname, sizeof (npcname));
      if (!strcmp (npcname, \"[EMR]Sheriff_B0T\", true))
      {
      PutPlayerInVehicle (playerid, npcveh, 0);
      }
if (IsPlayerNPC (playerid))
     {
      new npc1name [MAX_PLAYER_NAME];
      GetPlayerName (playerid, npc1name, sizeof (npc1name));
      if (!strcmp (npc1name, \"[EMR]Busz_sofor_B0T\", true))
      {
      PutPlayerInVehicle (playerid, npcbusz, 0);
      }
if (IsPlayerNPC (playerid))
     {
      new npc2name [MAX_PLAYER_NAME];
      GetPlayerName (playerid, npc2name, sizeof (npc2name));
      if (!strcmp (npc2name, \"[EMR]Taxisofor\", true))
      {
      PutPlayerInVehicle (playerid, npctaxi, 0);
      }
     return 1;
}
return 1;
}
return 1;
}
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
        if(pickupid == rendorsegbe)
   {
        SetPlayerPos(playerid, 2201.4900,1230.7643,10.8203);
        GameTextForPlayer(playerid,\"~b~Rendõrség\",3000,4);
        SetPlayerInterior(playerid,0);
        }
    if(pickupid == rendorsegki)
   {
        SetPlayerPos(playerid, 2194.8281,1228.5958,10.8203);
        GameTextForPlayer(playerid,\"~w~EXIT\",3000,4);
        SetPlayerInterior(playerid,0);
   }
    if(pickupid == jogsicentrum)
   {
        SetPlayerPos(playerid, 1492.5051,1305.6647,1093.2891);
        GameTextForPlayer(playerid,\"~g~Jogosítvány Centrum\",3000,4);
        SetPlayerInterior(playerid,3);
   }
   if(pickupid == jogsicentrumki)
   {
        SetPlayerPos(playerid, -1264.8782,2716.9895,50.2663);
        GameTextForPlayer(playerid,\"~w~EXIT\",3000,4);
        SetPlayerInterior(playerid,0);
   }
         if(pickupid == rendorseg2)
   {
        SetPlayerPos(playerid, 246.2211,111.4266,1003.2188);
        GameTextForPlayer(playerid,\"~b~Rendõrség\",3000,4);
        SetPlayerInterior(playerid,10);
        }
    if(pickupid == rendorseg2ki)
   {
        SetPlayerPos(playerid, -234.1488,2589.5291,63.5276);
        GameTextForPlayer(playerid,\"~w~EXIT\",3000,4);
        SetPlayerInterior(playerid,0);
   }
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    new vehicleid = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(vehicleid == vizsgakocsi)
{
    if(vizsgazik[playerid] == true)
    {
      DisablePlayerCheckpoint(playerid);
      CP[playerid] = 0;
      SetPlayerCheckpoint(playerid,-1260.7849,2706.0518,50.0625,3.0);
      vizsgatimer[playerid] = SetTimerEx(\"VizsgaTime\",10000,true,\"i\",playerid);
   }
   else RemovePlayerFromVehicle(playerid),SendClientMessage(playerid,hiba,\"Nem fizetted ki a tanfolyamot ezért nem vizsgázhatsz!\");
}
}
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
if(vehicleid == vizsgakocsi)
{
    if(vizsgazik[playerid] == true)
    {
        SendClientMessage(playerid,hiba,\"Kiszálltál az autóból ezért megbuktál!\");
           DisablePlayerCheckpoint(playerid);
           SetVehicleToRespawn(vizsgakocsi);
           vizsgazik[playerid] = false;
           KillTimer(vizsgatimer[playerid]);
       vizsgatimer[playerid] = -1;
    }
}
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
switch(CP[playerid])
{
   case 0:
       {
   SetPlayerCheckpoint(playerid,-1261.1868,2707.7019,49.9375,3.0);
   CP[playerid]++;
   SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Parkolj be!\");
   PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
       case 1:
   {
   SetPlayerCheckpoint(playerid,-1270.2235,2708.9497,49.9449,3.0);
   CP[playerid]++;
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Állj be vízszintesen!\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 2:
   {
   SetPlayerCheckpoint(playerid,-1262.4133,2697.2175,49.9375,3.0);
   CP[playerid]++;
   SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Állj bele a checkpointba!\");
   PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 3:
   {
    SetPlayerCheckpoint(playerid,-1285.4897,2712.7881,49.9382,3.0);
    CP[playerid]++;
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Tolass vissza!\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 4:
   {
    SetPlayerCheckpoint(playerid,-1282.4735,2724.9756,49.9373,3.0);
    CP[playerid]++;
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Állj bele a checkpointba!\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
   }
   case 5:
   {
    SetPlayerCheckpoint(playerid,-1286.9178,2714.6035,49.9381,3.0);
    SendClientMessage(playerid,NARANCS,\"[OKTATÓ] Tolass vissza és állj vissza az autóval.\");
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
    CP[playerid]++;
   }
   case 6:
   {
    SetPlayerCheckpoint(playerid,-1261.6401,2714.2327,49.9375,3.0);
    PlayerPlaySound(playerid, 1056, 0.0, 0.0, 0.0);
    CP[playerid]++;
   }
   case 7:
   {
   new Float:VHealth;
   GetVehicleHealth(GetPlayerVehicleID(playerid),VHealth);
   if(VHealth >= 998)
   {
       new year,month,day,hour,minute,sec;
       getdate(year,month,day);
       gettime(hour,minute,sec);
       SendClientMessage(playerid,hiba,\"Sikeresen átmentél a vizsgán!\");
       CP[playerid] = -1;
       DisablePlayerCheckpoint(playerid);
      format(file,sizeof(file),\"Jogositvanyok/%s.ini\",pName(playerid));
      vizsgazik[playerid] = false;
      SetVehicleToRespawn(vizsgakocsi);
      KillTimer(vizsgatimer[playerid]);
       vizsgatimer[playerid] = -1;
      if(!fexist(file)){
          dini_Create(file);
         format(str,sizeof(str),\"%d,%02d,%02d %02d:%02d:%02d\",year,month,day,hour,minute,sec);
         dini_Set(file,\"Név\",pName(playerid));
          dini_Set(file,\"Megkapta\",str);
      }
   }
   else
   {
       SendClientMessage(playerid,hiba,\"Sajnos megbuktál a vizsgán!\");
       CP[playerid] = -1;
       vizsgazik[playerid] = false;
       SetVehicleToRespawn(vizsgakocsi);
       DisablePlayerCheckpoint(playerid);
       KillTimer(vizsgatimer[playerid]);
       vizsgatimer[playerid] = -1;
   }
}
}
if(IsPlayerInCheckpoint(playerid) == fegyver)
{
}
return 1;
}
public OnGameModeInit()
{
SetGameModeText(\"[HUN]Elit Magyar Rendõrség\");
UsePlayerPedAnims();
//Rendõrség Kapu
kapu = CreateObject(975, -220.89999389648, 2612.1999511719, 63.400001525879);
//---------------------------------------------------------------------------
//NPC-k
ConnectNPC(\"[EMR]Sheriff_B0T\", \"Sheriff\");
     npcveh = CreateVehicle (599, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
     ConnectNPC(\"[EMR]Busz_sofor_B0T\", \"Busz\");
     npcbusz = CreateVehicle (431, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
     ConnectNPC(\"[EMR]Taxisofor\", \"Taxis\");
     npctaxi = CreateVehicle (420, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
     //------------------------------------------------------------
rendorsegbe = CreatePickup(1318, 1, 2196.9846,1231.1384,10.8203);
rendorsegki = CreatePickup(1318, 1, 2198.4810,1230.9944,10.8203);
jogsicentrum = CreatePickup(1318, 1, -1266.8993,2715.8362,50.2663);
jogsicentrumki = CreatePickup(1318, 1, 1494.4973,1304.9602,1093.2891);
rendorseg2 = CreatePickup(1318, 1, -234.1756,2587.5073,64.4656);
rendorseg2ki = CreatePickup(1318, 1, 246.4316,109.1015,1003.2188);
vizsgakocsitext = Create3DTextLabel(\"Vizsga jármû\",0xff0000AA,0,0,0,50.0,0,0);
    vizsgakocsi = CreateVehicle(565,VIZSGAKOCSI_POS,178.7419,6,6,-1);
    Attach3DTextLabelToVehicle(vizsgakocsitext,vizsgakocsi,0,0,2.0);
Create3DTextLabel(\"Itt a RENDÕRSÉG található!\", 0x00BBFFAA, 2196.9846, 1231.1384, 10.8203, 30.0, 0);
Create3DTextLabel(\"Jogosítvány Centrum\", 0x00FF00FAA, -1266.8993, 2715.8362, 50.2663, 30.0, 0);
Create3DTextLabel(\"EXIT\", 0xFFFFFFFAA, 1494.4973, 1304.9602, 1093.2891, 30.0, 0);
 
AddPlayerClass(282, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(185, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(186, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
AddPlayerClass(192, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
//ATM
CreateObject(2942, 2023.5, 997.79998779297, 10.5, 0, 0, 90);
CreateObject(2942, 2239, 1283.5, 10.5, 0, 0, 270);
CreateObject(2942, 2090.5, 1458.9000244141, 10.5, 0, 0, 270);
CreateObject(2942, 2196.8999023438, 1680.8000488281, 12, 0, 0, 270);
CreateObject(2942, 2224.6999511719, 1846.5999755859, 10.5, 0, 0, 270);
//-----------------------------------------------------------------------
AddStaticVehicle(597,2211.50000000,1228.00000000,10.80000019,270.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(597,2211.80004883,1233.69995117,10.80000019,238.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(597,2200.10009766,1220.09997559,10.69999981,270.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(597,2206.19995117,1220.19995117,10.69999981,270.00000000,1,1,-1); //Police Car (SFPD)
AddStaticVehicle(427,2213.50000000,1223.30004883,11.10000038,270.00000000,79,1,-1); //Enforcer
AddStaticVehicle(497,2214.39990234,1228.69995117,17.50000000,322.00000000,79,1,-1); //Police Maverick
AddStaticVehicle(596,-231.7924,2595.8274,62.4237,0.3110,1,44); // lspd
AddStaticVehicle(596,-228.7778,2596.3335,62.4232,1.1360,1,44); // lspd
AddStaticVehicle(596,-222.6500,2596.11
« Utoljára szerkesztve: 2012. május 13. - 21:13:19 írta Yakuza™ »

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #9 Dátum: 2012. május 13. - 21:09:44 »
0 Show voters
jónak hangzik, amint lejön végre a GTA megnézem, kicsit belenéztem, jónak tûnik (nem néztem át)

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #10 Dátum: 2012. május 13. - 21:11:21 »
0 Show voters
;)

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #11 Dátum: 2012. május 13. - 21:18:55 »
0 Show voters
Na ez dúrva! Kössz a publikálást fejleszteni fogom :D :)

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #12 Dátum: 2012. május 13. - 21:30:23 »
0 Show voters
;) oks

Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #13 Dátum: 2012. május 13. - 22:12:52 »
0 Show voters
nekem ez a /tetszik tetszik :) szép

Nem elérhető Erik3333

  • 945
  • SMF | phpBB | TS3 | PHP | HTML | CSS | JS | PAWN | JAVA
    • Profil megtekintése
Elit Magyar Rendõrség (Nincs teljesen kész!)
« Válasz #14 Dátum: 2012. május 14. - 07:15:16 »
0 Show voters
Nálam egy kicsit warningos... xÐ

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal