Quantcast
Viewing all 18226 articles
Browse latest View live

[Ajuda] Estou com dificuldade para inserir ORGS nessa GM{salvando} estou criando, é um projeto que tenho. Alguém sabe me ajudar?

Aqui tem um pouco do que já fiz, porém queria uma pasta separada para ORG, contendo todos os membros, cargos e um sistema de cofre.

Please, help me.


Code:

#include <a_samp>
#include <DOF2>
#include <sscanf2>
#include <zcmd>
#define Contas                        "Contas/%s.ini"
//=======|CAMPO INFOPLAYER|================//
#define MAX_ORGS 14 //========================| TODAS AS ORGS +1
//=========|CAMPO NºORGS|================//
#define Civil 0
#define Governo 1
#define PoliciaC 2
#define PoliciaF 3
#define PMESP 4
#define PMERJ 5
#define PCC 6
#define ComandoV 7
#define MilíciaP 8
#define LigaJ 9
#define SAMU 10
#define TBSAMP 11
#define Detran 12
#define Cabras 13
//=======|CAMPO MENSAGENS|================//
#define Msg                        SendClientMessage
#define MsgTodos        SendClientMessageToAll
#define MsgAdmin        SendAdminMessage
#define MsgOrg      SendFamilyMessage
//==================|CORES|====================//
#define COR_BRANCO                  0xFFFFFFFF
#define COR_ERRO                                        0xAD0000AA
#define COR_SUCESSO                                0x00AB00AA
#define COR_AV_ADM                                        0x007CF6AA
#define COR_AZUL_CLARO                                0x00F6F6AA
#define COR_RAD                                        0x4876FFAA

enum InfoPlayer {

        Senha,
        Skin,
        Score,
        Matou,
        Morreu,
        Dinheiro,
        Admin,
        Organizacao,
        Cargo,
        Habilitacao,
        RG
};


[Map] Car Ramp (map unique)

I created "CarRamp" with textured objects, you can go at high speeds and hit another vehicle and you will see how it flies towards the shit, obviously I tried and it works very well, the vehicle you crashes receives damage, while the CarRamp receives Little damage. If you will wear the CarRamp, leave the corresponding credits.

Images
Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.


Code
You can wear the map as FS or simply take the code map.
Code:

/*Mapeo creado por: Borius*/
#include <a_samp>
#include <streamer>

new carvid;

public OnFilterScriptInit()
{
    new tmpobjid;

    carvid = CreateVehicle(411, 816.0759, -1389.0547, 13.6198, 358.889, 0 , 0, -1, 0);

    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.470, 3.198, -0.405, 135.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.500, 3.196, -0.410, 135.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19845,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.960, 3.106, -0.541, 335.000, 90.000, 360.000);
    tmpobjid = CreateDynamicObject(19845,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.020, 3.104, -0.545, 695.000, 90.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.470, 2.471, 0.253, 315.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.500, 2.500, 0.285, 135.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.101, 2.589, -0.250, 0.000, 90.000, 525.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.235, 1.629, -0.250, 0.000, 90.000, 5.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 1.086, 2.581, -0.269, 90.000, 90.000, 15.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.138, 2.597, -0.250, 90.000, 90.000, 165.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 1.162, 1.608, -0.280, 90.000, 80.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "metal013", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.501, 2.319, 0.054, -16.999, -1.100, 0.000);
    tmpobjid = CreateDynamicObject(18693,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.320, -0.921, -0.625, 85.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.275, 1.619, -0.260, 90.000, 90.000, 5.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "metal013", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.465, 2.321, 0.072, 523.000, 180.699, 0.000);
    tmpobjid = CreateDynamicObject(18718,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.000, 3.071, -1.450, 0.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 16640, "a51", "sl_metalwalk", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 1.181, 1.617, -0.270, 0.000, 90.000, 1250.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 1.095, 2.663, -0.280, 90.000, 105.000, 0.000);
    tmpobjid = CreateDynamicObject(18693,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.330, -0.927, -0.624, 84.199, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "metal013", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.490, 1.372, 0.159, 3.599, -0.299, 1.500);
    tmpobjid = CreateDynamicObject(19843,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    SetDynamicObjectMaterial(tmpobjid, 0, 18835, "mickytextures", "metal013", 0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.470, 1.366, 0.213, -173.499, 0.599, -0.099);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.580, 2.130, 0.119, 90.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -0.620, 2.133, 0.124, 90.000, 0.000, 0.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.000, 2.130, 0.129, 90.000, 0.000, -0.199);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, -1.040, 2.150, 0.179, 90.000, 0.000, 90.000);
    tmpobjid = CreateDynamicObject(19846,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.960, 2.111, 0.159, 90.000, 0.000, 90.000);
    tmpobjid = CreateDynamicObject(18718,0.0,0.0,-1000.0,0.0,0.0,0.0,-1,-1,-1,300.0,300.0);
    AttachDynamicObjectToVehicle(tmpobjid, carvid, 0.980, 3.051, -1.429, 0.000, 0.000, 0.000);
}

public OnFilterScriptExit()
{
    DestroyVehicle(carvid);
}

public OnVehicleSpawn(vehicleid)
{
    if(vehicleid == carvid)
    {
    }
}

Credits: Borius

PD: If you notice spelling errors or I have expressed myself wrong, it is because my English is a bit bad (I am from Argentina)

[Pedido] Como deiixo o nome no actor asssim ??

Duplicate weapons, help.

Good, I have a problem. On my server when I have a lot of players, sometimes there is lag and loss. The point is that, when they are lagged, they can store a weapon in the boot again and again without stopping, duplicate them and sell them, even to users, trunk, cabinets, etc. The weapon when they are lag is not removed from the hand when it should be removed, what can I do?

Code:


QuitarArma_(playerid, weaponid)
{
    new Handle_ = SQL::OpenTable_Update(SQL_TABLA_INVENTARIO, "usuario_id", Jugador[playerid][ID]);
   
    RemovePlayerWeapon(playerid, weaponid);
        switch(weaponid)
        {
                case 1:
                {
                        Jugador[playerid][ArmasT][0] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][0] = 0;
                        Jugador[playerid][Municion][0] = 0;
                       
                        SQL::WriteInt(Handle_, "arma_0", Jugador[playerid][Armas][0]);
                        SQL::WriteInt(Handle_, "municion_0", Jugador[playerid][Municion][0]);
                }
                case 2 .. 9:
                {
                        Jugador[playerid][ArmasT][1] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][1] = 0;
                        Jugador[playerid][Municion][1] = 0;

                        SQL::WriteInt(Handle_, "arma_1", Jugador[playerid][Armas][1]);
                        SQL::WriteInt(Handle_, "municion_1", Jugador[playerid][Municion][1]);
                }
                case 22 .. 24:
                {
                        Jugador[playerid][ArmasT][2] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][2] = 0;
                        Jugador[playerid][Municion][2] = 0;

                        SQL::WriteInt(Handle_, "arma_2", Jugador[playerid][Armas][2]);
                        SQL::WriteInt(Handle_, "municion_2", Jugador[playerid][Municion][2]);
                }
                case 25 .. 27:
                {
                        Jugador[playerid][ArmasT][3] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][3] = 0;
                        Jugador[playerid][Municion][3] = 0;

                        SQL::WriteInt(Handle_, "arma_3", Jugador[playerid][Armas][3]);
                        SQL::WriteInt(Handle_, "municion_3", Jugador[playerid][Municion][3]);
                }
                case 28 .. 29, 32:
                {
                        Jugador[playerid][ArmasT][4] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][4] = 0;
                        Jugador[playerid][Municion][4] = 0;

                        SQL::WriteInt(Handle_, "arma_4", Jugador[playerid][Armas][4]);
                        SQL::WriteInt(Handle_, "municion_4", Jugador[playerid][Municion][4]);
                }
                case 30 .. 31:
                {
                        Jugador[playerid][ArmasT][5] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][5] = 0;
                        Jugador[playerid][Municion][5] = 0;

                        SQL::WriteInt(Handle_, "arma_5", Jugador[playerid][Armas][5]);
                        SQL::WriteInt(Handle_, "municion_5", Jugador[playerid][Municion][5]);
                }
                case 33 .. 34:
                {
                        Jugador[playerid][ArmasT][6] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][6] = 0;
                        Jugador[playerid][Municion][6] = 0;

                        SQL::WriteInt(Handle_, "arma_6", Jugador[playerid][Armas][6]);
                        SQL::WriteInt(Handle_, "municion_6", Jugador[playerid][Municion][6]);
                }
                case 16 .. 18, 39:
                {
                        Jugador[playerid][ArmasT][7] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][7] = 0;
                        Jugador[playerid][Municion][7] = 0;

                        SQL::WriteInt(Handle_, "arma_7", Jugador[playerid][Armas][7]);
                        SQL::WriteInt(Handle_, "municion_7", Jugador[playerid][Municion][7]);
                }
                case 41 .. 43:
                {
                        Jugador[playerid][ArmasT][9] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][9] = 0;
                        Jugador[playerid][Municion][9] = 0;

                        SQL::WriteInt(Handle_, "arma_8", Jugador[playerid][Armas][8]);
                        SQL::WriteInt(Handle_, "municion_8", Jugador[playerid][Municion][8]);
                }
                case 10 .. 15:
                {
                        Jugador[playerid][ArmasT][10] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][10] = 0;
                        Jugador[playerid][Municion][10] = 0;

                        SQL::WriteInt(Handle_, "arma_9", Jugador[playerid][Armas][9]);
                        SQL::WriteInt(Handle_, "municion_9", Jugador[playerid][Municion][9]);
                }
                case 44 .. 46:
                {
                        Jugador[playerid][ArmasT][11] = MAX_WEAP_TOKEN_LIMIT;
                        Jugador[playerid][Armas][11] = 0;
                        Jugador[playerid][Municion][11] = 0;

                        SQL::WriteInt(Handle_, "arma_10", Jugador[playerid][Armas][10]);
                        SQL::WriteInt(Handle_, "municion_10", Jugador[playerid][Municion][10]);
                }
        }
        SQL::Close(Handle_);
        DevolverArmas(playerid);
        return 1;
}


        else if(strfind(Opcion_, "guardar", true) != -1)
        {
                if(GetPVarInt(playerid, "TGArma") > 0)
                {
                        format(StrMessage, sizeof(StrMessage), ERROR(74)"Debes esperar %d segundos para volver a guardar un arma.",
                                GetPVarInt(playerid, "TGArma")
                        );
                        return SendClientMessage(playerid, -1, StrMessage);
                }
                if(sscanf(params, "s[30]d", Opcion_, Slot_))
                        return MensajeSyntax(playerid, "/(Mal)etero Guardar [Slot]");
                //
        new VehID = TieneMalCerca_(playerid);
                if(VehID)
                {
                        if(EsMoto(VehID))
                        {
                                if(Slot_ < 1 || Slot_ > 2){
                                        return SendClientMessage(playerid, -1, ERROR(0)"El slot no es válido(debe ser del 1, al 2).");
                                }
                        }
                        else if(EsCamioneta(VehID))
                        {
                                if(Slot_ < 1 || Slot_ > 5){
                                        return SendClientMessage(playerid, -1, ERROR(0)"El slot no es válido(debe ser del 1, al 5).");
                                }
                        }
                        else if(EsCamion(VehID) || EsVan(VehID))
                        {
                                if(Slot_ < 1 || Slot_ > 8){
                                        return SendClientMessage(playerid, -1, ERROR(0)"El slot no es válido(debe ser del 1, al 8).");
                                }
                        }
                        else
                        {
                                if(Slot_ < 1 || Slot_ > 4){
                                        return SendClientMessage(playerid, -1, ERROR(0)"El slot no es válido(debe ser del 1, al 4).");
                                }
                        }
                        if(!IsPlayerInAnyVehicle(playerid))
                        {
                                foreach(new BucleAutos_ : TotalAutos_)
                                {
                                        if(Autos[ BucleAutos_ ][aID_SAMP] == VehID && EsPropAuto(playerid, VehID))
                                        {
                                                GetVehicleParamsEx(Autos[ BucleAutos_ ][aID_SAMP], ArrParams[0], ArrParams[1], ArrParams[2], ArrParams[3], ArrParams[4], ArrParams[5], ArrParams[6]);
                                                if(ArrParams[5] == VEHICLE_PARAMS_OFF || ArrParams[5] == VEHICLE_PARAMS_UNSET)
                                                        return MensajeError(playerid, "El maletero debe estar abierto.");
                                                if(Autos[ BucleAutos_ ][vMaletero][ Slot_ - 1 ] != 0)
                                                        return MensajeError(playerid, "El slot está ocupado, prueba con otro.");
                                                //
                                                if(GetPlayerWeapon(playerid))
                                                {
                                                        if(!ComprobarArma_Loss(playerid, GetPlayerWeapon(playerid))) return MensajeError(playerid, "No tienes esa arma, o estás lag.");
                                                        else
                                                        {
                                                                Autos[ BucleAutos_ ][vMaletero][ Slot_ - 1 ] = GetPlayerWeapon(playerid);
                                                                Autos[ BucleAutos_ ][vMunicion][ Slot_ - 1 ] = GetPlayerAmmo(playerid);

                                                                SetPVarInt(playerid, "TGArma", 15);
                                                                TimersJugador_[playerid][54] = SetTimerEx("OtrosTimer", 1000, false, "ii", playerid, TIMER_GUARDAR_ARMA);

                                                                QuitarArma_(playerid, GetPlayerWeapon(playerid));
                                                        }
                                                }
                                                else if(Sesion[playerid][ObjetoR])
                                                {
                                                        Autos[ BucleAutos_ ][vMaletero][ Slot_ - 1 ] = Sesion[playerid][ObjetoR];
                                                        Autos[ BucleAutos_ ][vMunicion][ Slot_ - 1 ] = -1;

                                                        SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE);
                                                        RemovePlayerAttachedObject(playerid, 8);
                                                        Sesion[playerid][ObjetoR] = 0;
                                                }
                                                else{
                                                        return MensajeError(playerid, "No tienes nada para guardar.");
                                                }
                                                Guardar_Maletero(VehID);
                                                format(StrMessage, sizeof(StrMessage), "%s guardó un objeto en el maletero.",
                                                        VerNombre(playerid)
                                                );
                                                return MensajeDistancia_(10.0, playerid, 0xC2A2DAAA, StrMessage);
                                        }
                                }
                        }
                }

RemovePlayerWeapon(Jugador_, Arma_)
{
    SetPlayerArmedWeapon(Jugador_, Arma_);
    if(GetPlayerWeapon(Jugador_) != 0) GivePlayerWeapon(Jugador_, Arma_, -(GetPlayerAmmo(Jugador_)));

    return 1;
}

[Include] Rogue Anti cheat

Dears, i present to you my polished anti cheat that I've been working on for almost 2 years so far.

Image may be NSFW.
Clik here to view.


Rogue-AC


Image may be NSFW.
Clik here to view.



Github: Click here

This is a combination of all my encounters with cheats that i observed and tried to block on my server, a progress of approximately 2 years of work.

Installation: The Rogue-AC file needs to be included in your gamemode and in all filterscripts, function(s) is/are to be used only within the gamemode.

Version: 8.0

Simply install to your project:

Code:


sampctl package install RogueDrifter/Anti_cheat_pack



Include in your code and begin using the library:
Code:

#include <Rogue-AC>

Usage:

Use the callbacks provided to you by the includes depending on the type of it.

If you're including the pack as a whole you'll need to only use the callback OnPlayerViolate

Details for callback:
Code:

forward OnPlayerViolate(playerid, severity, violationCode, const violationName[]);

Whereas:
Code:

playerid = cheater player id.

severity = how bad cheating is,
types:
#define SEVERITY_CASE_ONE 0    //Warn then kick
#define SEVERITY_CASE_TWO 1        //Kick
#define SEVERITY_CASE_THREE 2    //Ban

violationcode: which callback was triggered (codes can be found below in the #CONTAINS section.

violationName: basically a string for the cheat name which makes it easier to write a string.



If you use separate includes you can use the respective callbacks in the test.pwn file.
If you want to disable any anti cheat when using the Rogue-AC file, you can put this line before the include:
Code:

#define DISABLE_[anti cheat file name]
For example:
Code:

#define DISABLE_JETPACK
and so on.
Note: If you don't use the callback, my include will do all the work for you.

Testing:

Use the test.pwn file and check the server for client messages/log for printed messages.

Simply run the package:


Code:

sampctl package run

Contains:

Code:

#define VIOLATION_CODE_BUGATTEMPT 0
#define VIOLATION_CODE_LAGOUT 1
#define VIOLATION_CODE_SLIDEBUG 2
#define VIOLATION_CODE_INVALIDMODS 3
#define VIOLATION_CODE_PARTICLESPAM 4
#define VIOLATION_CODE_CARSWING 5
#define VIOLATION_CODE_MONEYHACK 6
#define VIOLATION_CODE_CARTROLL 7
#define VIOLATION_CODE_CARSPAM 8
#define VIOLATION_CODE_AIRBRAKE 9
#define VIOLATION_CODE_SPEEDING 10
#define VIOLATION_CODE_CHATSPAM 11
#define VIOLATION_CODE_JETPACK 12
#define VIOLATION_CODE_FAKECONNECT 13
#define VIOLATION_CODE_FAKEKILL 14
#define VIOLATION_CODE_GODMODE 15
#define VIOLATION_CODE_WEPHACKS 16


How to update:

Simply open your project and run the code:
Code:

sampctl package ensure
I haven't changed the repository name due to the fact that people still search it so yeah, this all started when i was posting my separate includes everywhere until Pottus suggested i grouped everything, so here you go.

Haven't added any debug tools inside either but i plan to do so inside the includes even if it just prints out to your console log the parameters for each callback (Exactly as you can see in the test.pwn file).

[0.3.7 / 0.3DL] Virtual Reality Roleplay


Visual Reality Roleplay

Server IP: Coming Soon
Discord: Click here to join
Forums: Coming Soon (TBA)


INTRODUCTION
_______________

Greetings to everyone on this beautiful community, I’m here to announce and invite you to play on our server named "Visual Reality Roleplay" this upcoming December. We wanted a support from you and other players from the community while we develop the server to great extent, and to please and satisfy your needs and what hasn't been yet seen in any roleplay servers. We did glad to see you soon in the server and hopefully you enjoy the presence, environment and the service that we offer soon.

FEATURES
_______________

On Visual Reality Roleplay, we offer you a variety of great features which are realistic in almost any way. Here's a short content of the features, but there's much more to offer that you have to check it out once the server is up.
  • Unique Inventory System
  • Unique Weapon System
  • Unique Factions System
  • Custom Damage System
  • High quality vehicle system
  • Custom Modding Garage
  • Refined Job System
  • Trunk System
  • Refined Drugs System
  • Custom Mappings
  • House & Business system
  • Furniture System
  • Land System

FURTHER QUESTIONS
_______________

Do you have any further questions? You are welcome to join our Discord server to have a discussion and ask questions to our server developers and owners.

Are we hiring?

As of this moment, Faction Moderators, Faction Leaders and Helper (Moderators) are open.

MySQL Score Won't Save

Hello
I Have These Codes:

PHP Code:

public OnPlayerDisconnect(playeridreason)
{
    new 
DB_Query[500];
    
mysql_format(DatabaseDB_Querysizeof(DB_Query), "UPDATE `accounts` SET `Score` = %d, `Money` = %d, `Admin` = %d, `Kills` = %d, `Deaths` = %d WHERE `ID` = %d LIMIT 1",
    
pInfo[playerid][Score], pInfo[playerid][Cash], pInfo[playerid][Admin], pInfo[playerid][Kills], pInfo[playerid][Deaths], pInfo[playerid][ID]);
    
mysql_tquery(DatabaseDB_Query);
    if(
cache_is_valid(pInfo[playerid][Player_Cache]))
    {
        
cache_delete(pInfo[playerid][Player_Cache]); 
        
pInfo[playerid][Player_Cache] = MYSQL_INVALID_CACHE
    }
    
pInfo[playerid][LoggedIn] = false;
    return 
1;
}


//OnDialogResponse Case: DIALOG_LOGIN

new Salted_Key[65];
            
SHA256_PassHash(inputtextpInfo[playerid][Salt], Salted_Key65);

            if(
strcmp(Salted_KeypInfo[playerid][Password]) == 0)
            {
                
cache_set_active(pInfo[playerid][Player_Cache]);
                
cache_get_value_int(0"ID"pInfo[playerid][ID]);
                
cache_get_value_int(0"Kills"pInfo[playerid][Kills]);
                
cache_get_value_int(0"Deaths"pInfo[playerid][Deaths]);
                
cache_get_value_int(0"Admin"pInfo[playerid][Admin]);
                
cache_get_value_int(0"Score"pInfo[playerid][Score]);
                
cache_get_value_int(0"Money"pInfo[playerid][Cash]);
                
SetPlayerScore(playeridpInfo[playerid][Score]);
                
ResetPlayerMoney(playerid);
                
GivePlayerMoney(playeridpInfo[playerid][Cash]);
                
cache_delete(pInfo[playerid][Player_Cache]);
                
pInfo[playerid][Player_Cache] = MYSQL_INVALID_CACHE;

                
pInfo[playerid][LoggedIn] = true;
                
            }

//And

forward public OnPlayerRegister(playerid);
public 
OnPlayerRegister(playerid)
{
    
SendClientMessage(playerid0x00FF00FF"Your Account Has been Created on Server Database!");
    
pInfo[playerid][LoggedIn] = true;
    
pInfo[playerid][Score] += 20;
    return 
1;



When i exit my game and when i rejoin my score will reset to 0
Anyone Could Help?

[Ajuda] Nao consigo entrar em empresas

Do nada aperto ennteer para ennttrar e nao da nada simplesmeentte n funcionaa
ja troquei as empresas e nada algueem pode ajuda ?

[GameMode] [PC] Brasil Play Vício - [EXCLUSIVA]

Mapas Exclusivos
mapas unicos em todo o Servidor

Mapas Exclusivos
mapas unicos em todo o Servidor

Sistema de Família
um sistema de família exclusivo

Territorio
Sistema de territorio todo moderno

VIP/SÓCIO
Os membros VIPs & Sócios possuem comandos Exclusivos

https://www.sendspace.com/file/gqil3d

I want make pwn file for cmds only

I tried use #include "../gamemodes/scriptaddon/commands.pwn"

But i got to many errors.
What i should do before i do this change from one pwn to two?

undefined symbol "cache_get_data"

I want to get this command to work on higher mysql version script, but when compiling this code

Code:

forward Onlastlogin_Response(playerid, playername[]);
public Onlastlogin_Response(playerid, playername[])
{
        new rows, data, LastLogin[64], string[256];
        cache_get_data(rows, data, MainPipeline);

        if(rows) { // account exists
                    cache_get_field_content(0, "LastLogin", LastLogin, MainPipeline);

                    format(string, sizeof(string), "Showing last login date information for %s", playername);
                    SendClientMessageEx(playerid, COLOR_LIGHTRED, string);

                    format(string, sizeof(string), "Last login date: %s", LastLogin);
                        SendClientMessageEx(playerid, COLOR_WHITE, string);
                        return 1;
                }
                else return SendClientMessageEx(playerid, COLOR_GREY, "That specific account does not exist.");
}

forward Onregisterdate_Response(playerid, playername[]);
public Onregisterdate_Response(playerid, playername[])
{
        new rows, data, RegiDate[64], string[256];
        cache_get_data(rows, data, MainPipeline);

        if(rows) { // account exists
                    cache_get_field_content(0, "RegiDate", RegiDate, MainPipeline);

                    format(string, sizeof(string), "Showing registered date information of %s", playername);
                    SendClientMessageEx(playerid, COLOR_LIGHTRED, string);

                    format(string, sizeof(string), "Registered date: %s", RegiDate);
                        SendClientMessageEx(playerid, COLOR_WHITE, string);
                        return 1;
                }
                else return SendClientMessageEx(playerid, COLOR_GREY, "That specific account does not exist.");
}

the error
Code:

./includes/admin/admin.pwn(211) : error 017: undefined symbol "cache_get_data"
./includes/admin/admin.pwn(214) : error 017: undefined symbol "cache_get_field_content"
./includes/admin/admin.pwn(247) : error 017: undefined symbol "cache_get_data"
./includes/admin/admin.pwn(250) : error 017: undefined symbol "cache_get_field_content"
Pawn compiler 3.10.6                          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

I want to use UsePlayerPedAnims but disable them for the skaters. Please Help.

Is this achievable? The skater skins have the skating shoes so I thought I might as well give them the ability to skate if using that skin id, thanks for any answers and clues.:-)

All I am using is UsePlayerPedAnims(); inside of public OnGameModeInit() but I obviously don't what to do next.

FCNPC-CRASH

fcnpc-crash_2019-11-08_15.37.02

Code:

=========================== FCNPC Exception Handler ============================
Address: 0x49939b

Registers:
EAX: 0x12edfc - EBX: 0x1b49d18 - ECX: 0x0 - EDX: 0x4056c0
ESI: 0x0 - EDI: 0x14a0828 - EBP: 0x12ee0c - ESP: 0x12ede4

Stack:
0x0: 0x14a0828 - 0x4: 0x14a0828 - 0x8: 0x1b49d18 - 0xC: 0xffffffff - 0x10: 0x12ede4 - 0x14: 0x12e88c
0x18: 0x12ef40 - 0x1C: 0x49d208 - 0x20: 0x4ba1b8

Information:
  System: Windows
  SA-MP: 0.3.7 R2
  FCNPC: 1.8.2

Functions:
  FUNC_CPlayerPool__DeletePlayer: 0x466570
  FUNC_CPlayer__Kill: 0x484620
  FUNC_CPlayer__EnterVehicle: 0x484c70
  FUNC_CPlayer__ExitVehicle: 0x484f50
  FUNC_CPlayer__SpawnForWorld: 0x486d30
  FUNC_GetVehicleModelInfo: 0x488240
  FUNC_CConsole__GetIntVariable: 0x48b5b0
  FUNC_ClientJoin_RPC: 0x4918f0

Pointers:
  VAR_ServerAuthentication: 0x4f5fe8
  VAR_NetVersion: 0xfd9

Offsets:
  OFFSET_RemoteSystemManager: 0x33c
  OFFSET_RemoteSystemSize: 0xcb8
  OFFSET_RemoteSystem__ConnectMode: 0xcb0
  OFFSET_RemoteSystem__Unknown: 0xcb5
=========================== FCNPC Exception Handler ============================

Server.cfg
Code:

echo Executing Server Config...
lanmode 0
rcon_password denemearenagayming
maxplayers 335
port 7777
hostname SF-CNR Test Server (0.3.7)
gamemode0 sf-cnr 1
filterscripts sampcac_testscript
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
plugins crashdetect mysql gvar regex sscanf streamer FCNPC Whirlpool  RouteConnectorPlugin MapAndreas sampcac_server TPoker MerRandom FileManager nativechecker
maxnpc 220
logtimeformat [%H:%M:%S]
language Turkish
messageslimit 10000
messageholelimit 30000

Server.log
Code:

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[18:39:26]
[18:39:26] Server Plugins
[18:39:26] --------------
[18:39:26]  Loading plugin: crashdetect
[18:39:26]  CrashDetect plugin 4.19.4
[18:39:26]  Loaded.
[18:39:26]  Loading plugin: mysql
[18:39:27]  >> plugin.mysql: R39-6 successfully loaded.
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: gvar
[18:39:27]

*** GVar Plugin v1.3 by Incognito loaded ***

[18:39:27]  Loaded.
[18:39:27]  Loading plugin: regex
[18:39:27]


[18:39:27] ______________________________________


[18:39:27]  Regular Expression Plugin v0.2.1 loaded
[18:39:27] ______________________________________


[18:39:27]  By: Fro (c) Copyright <TBG> 2009-2011
[18:39:27] ______________________________________


[18:39:27]  Loaded.
[18:39:27]  Loading plugin: sscanf
[18:39:27]

[18:39:27]  ===============================

[18:39:27]      sscanf plugin loaded.   

[18:39:27]          Version:  2.8.3       

[18:39:27]  (c) 2018 Alex "******" Cole 

[18:39:27]  ===============================

[18:39:27]  Loaded.
[18:39:27]  Loading plugin: streamer
[18:39:27]

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[18:39:27]  Loaded.
[18:39:27]  Loading plugin: FCNPC
[18:39:27]
[18:39:27] -------------------------------------------------
[18:39:27]      FCNPC - Fully Controllable NPC v1.8.2
[18:39:27]          Windows SA-MP 0.3.7 R2
[18:39:27]          Jan  8 2018 at 01:14:48
[18:39:27]
[18:39:27]  Author:      OrMisicL (2013 - 2015)
[18:39:27]  Continued by: ziggi (2016 - present)
[18:39:27]  Contributors: kurta999, Neutralneu
[18:39:27] -------------------------------------------------
[18:39:27]
[18:39:27] Loading...
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: Whirlpool
[18:39:27] 
[18:39:27]  ==================
[18:39:27] 
[18:39:27]  Whirlpool loaded
[18:39:27] 
[18:39:27]  ==================
[18:39:27] 
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: RouteConnectorPlugin
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: MapAndreas
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: sampcac_server
[18:39:27]  SA-MP Clientside AntiCheat v0.10.0 is being loaded ...
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: TPoker
[18:39:27] **plugin: TPoker by ThreeKingz was successfully loaded! **
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: MerRandom
[18:39:27] Plugin MerRandom v2.1 - by Cyber_Punk got loaded.
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: FileManager
[18:39:27] ******************
[18:39:27] ** FILE MANAGER **
[18:39:27] **    Loaded    **
[18:39:27] ** Version 1.5 **
[18:39:27] ******************
[18:39:27]  Loaded.
[18:39:27]  Loading plugin: nativechecker
[18:39:27]  Loaded.
[18:39:27]  Loaded 15 plugins.

[18:39:27]
[18:39:27] Filterscripts
[18:39:27] ---------------
[18:39:27]  Loading filterscript 'sampcac_testscript.amx'...
[18:39:27] AMX (21831328) loaded
[18:39:27]  SAMPCAC test filterscript loaded.
[18:39:27]  Loaded 1 filterscripts.

[18:39:27] AMX (21694504) loaded
[18:39:27] 
[18:39:27] 
[18:39:27] 
[18:39:27]  =======================================
[18:39:27]  |                                    |
[18:39:27]  |        YSI version 4.00.0001        |
[18:39:27]  |        By Alex "******" Cole        |
[18:39:27]  |                                    |
[18:39:27]  =======================================
[18:39:27] 
[18:40:00] [MYSQL]:Veritabanına bağlantı başarılı.
[18:40:00] [npc:join] [BOT]SexShopClerk0 has joined the server (334:127.0.0.1)
[18:40:00] [npc:join] [BOT]SexShopClerk1 has joined the server (333:127.0.0.1)
[18:40:00] [npc:join] [BOT]SexShopClerk2 has joined the server (332:127.0.0.1)
[18:40:00] [npc:join] [BOT]SexShopClerk3 has joined the server (331:127.0.0.1)
[18:40:00] [npc:join] [BOT]BettingClerk has joined the server (330:127.0.0.1)
[18:40:00] [npc:join] [BOT]Zero5 has joined the server (329:127.0.0.1)
[18:40:00] [npc:join] [BOT]ProlapsClerk6 has joined the server (328:127.0.0.1)
[18:40:00] [npc:join] [BOT]ProlapsClerk7 has joined the server (327:127.0.0.1)
[18:40:00] [npc:join] [BOT]DiscoBartender8 has joined the server (326:127.0.0.1)
[18:40:00] [npc:join] [BOT]DiscoBartender9 has joined the server (325:127.0.0.1)
[18:40:00] [npc:join] [BOT]RestaurantOwner10 has joined the server (324:127.0.0.1)
[18:40:00] [npc:join] [BOT]RestaurantOwner11 has joined the server (323:127.0.0.1)
[18:40:00] [npc:join] [BOT]BrothelManager12 has joined the server (322:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer13 has joined the server (321:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer14 has joined the server (320:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer15 has joined the server (319:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer16 has joined the server (318:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer17 has joined the server (317:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer18 has joined the server (316:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer19 has joined the server (315:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer20 has joined the server (314:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer21 has joined the server (313:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer22 has joined the server (312:127.0.0.1)
[18:40:00] [npc:join] [BOT]Gunsdealer23 has joined the server (311:127.0.0.1)
[18:40:00] [npc:join] [BOT]ZIPClerk24 has joined the server (310:127.0.0.1)
[18:40:00] [npc:join] [BOT]ZIPClerk25 has joined the server (309:127.0.0.1)
[18:40:00] [npc:join] [BOT]ZIPClerk26 has joined the server (308:127.0.0.1)
[18:40:00] [npc:join] [BOT]ZIPClerk27 has joined the server (307:127.0.0.1)
[18:40:00] [npc:join] [BOT]BincoClerk28 has joined the server (306:127.0.0.1)
[18:40:00] [npc:join] [BOT]BincoClerk29 has joined the server (305:127.0.0.1)
[18:40:00] [npc:join] [BOT]BincoClerk30 has joined the server (304:127.0.0.1)
[18:40:00] [npc:join] [BOT]BincoClerk31 has joined the server (303:127.0.0.1)
[18:40:00] [npc:join] [BOT]VictimClerk32 has joined the server (302:127.0.0.1)
[18:40:00] [npc:join] [BOT]VictimClerk33 has joined the server (301:127.0.0.1)
[18:40:00] [npc:join] [BOT]VictimClerk34 has joined the server (300:127.0.0.1)
[18:40:00] [npc:join] [BOT]SuburbanClerk35 has joined the server (299:127.0.0.1)
[18:40:00] [npc:join] [BOT]SuburbanClerk36 has joined the server (298:127.0.0.1)
[18:40:00] [npc:join] [BOT]SuburbanClerk37 has joined the server (297:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender38 has joined the server (296:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender39 has joined the server (295:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender40 has joined the server (294:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender41 has joined the server (293:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender42 has joined the server (292:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender43 has joined the server (291:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender44 has joined the server (290:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender45 has joined the server (289:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender46 has joined the server (288:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender47 has joined the server (287:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender48 has joined the server (286:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender49 has joined the server (285:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender50 has joined the server (284:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender51 has joined the server (283:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender52 has joined the server (282:127.0.0.1)
[18:40:00] [npc:join] [BOT]Bartender53 has joined the server (281:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker54 has joined the server (280:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker55 has joined the server (279:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker56 has joined the server (278:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker57 has joined the server (277:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker58 has joined the server (276:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker59 has joined the server (275:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker60 has joined the server (274:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker61 has joined the server (273:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker62 has joined the server (272:127.0.0.1)
[18:40:00] [npc:join] [BOT]BurgerWorker63 has joined the server (271:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker64 has joined the server (270:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker65 has joined the server (269:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker66 has joined the server (268:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker67 has joined the server (267:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker68 has joined the server (266:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker69 has joined the server (265:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker70 has joined the server (264:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker71 has joined the server (263:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker72 has joined the server (262:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker73 has joined the server (261:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker74 has joined the server (260:127.0.0.1)
[18:40:00] [npc:join] [BOT]ChickenWorker75 has joined the server (259:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker76 has joined the server (258:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker77 has joined the server (257:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker78 has joined the server (256:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker79 has joined the server (255:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker80 has joined the server (254:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker81 has joined the server (253:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker82 has joined the server (252:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker83 has joined the server (251:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker84 has joined the server (250:127.0.0.1)
[18:40:00] [npc:join] [BOT]PizzaWorker85 has joined the server (249:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker86 has joined the server (248:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker87 has joined the server (247:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker88 has joined the server (246:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker89 has joined the server (245:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker90 has joined the server (244:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker91 has joined the server (243:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker92 has joined the server (242:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker93 has joined the server (241:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker94 has joined the server (240:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker95 has joined the server (239:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker96 has joined the server (238:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker97 has joined the server (237:127.0.0.1)
[18:40:00] [npc:join] [BOT]247Worker98 has joined the server (236:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber99 has joined the server (235:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber100 has joined the server (234:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber101 has joined the server (233:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber102 has joined the server (232:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber103 has joined the server (231:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber104 has joined the server (230:127.0.0.1)
[18:40:00] [npc:join] [BOT]Barber105 has joined the server (229:127.0.0.1)
[18:40:00] [npc:join] [BOT]DonutWorker106 has joined the server (228:127.0.0.1)
[18:40:00] [npc:join] [BOT]DonutWorker107 has joined the server (227:127.0.0.1)
[18:40:00] [npc:join] [BOT]DonutWorker108 has joined the server (226:127.0.0.1)
[18:40:00] [npc:join] [BOT]Stripper109 has joined the server (225:127.0.0.1)
[18:40:00] [npc:join] [BOT]Stripper110 has joined the server (224:127.0.0.1)
[18:40:00] [npc:join] [BOT]Otto111 has joined the server (223:127.0.0.1)
[18:40:00] [npc:join] [BOT]Salesman112 has joined the server (222:127.0.0.1)
[18:40:00] [npc:join] [BOT]Jizzy113 has joined the server (221:127.0.0.1)
[18:40:00] [npc:join] [BOT]DidierSachClerk114 has joined the server (220:127.0.0.1)
[18:40:00] [npc:join] [BOT]SteakhouseOwner115 has joined the server (219:127.0.0.1)
[18:40:00] [npc:join] [BOT]SteakhouseOwner116 has joined the server (218:127.0.0.1)
[18:40:00] [npc:join] [BOT]SteakhouseOwner117 has joined the server (217:127.0.0.1)
[18:40:00] [npc:join] [BOT]SteakhouseOwner118 has joined the server (216:127.0.0.1)
[18:40:00] [npc:join] [BOT]SteakhouseOwner119 has joined the server (215:127.0.0.1)
[18:40:00] [npc:join] [BOT]Priest120 has joined the server (214:127.0.0.1)
[18:40:00] [npc:join] [BOT]Priest121 has joined the server (213:127.0.0.1)
[18:40:00] [npc:join] [BOT]Priest122 has joined the server (212:127.0.0.1)
[18:40:00] [npc:join] [BOT]Priest123 has joined the server (211:127.0.0.1)
[18:40:00] [npc:join] [BOT]Priest124 has joined the server (210:127.0.0.1)
[18:40:00] [npc:join] [BOT]Priest125 has joined the server (209:127.0.0.1)
[18:40:00] [npc:join] [BOT]HotelBartender126 has joined the server (208:127.0.0.1)
[18:40:00] [npc:join] [BOT]VehicleDealer127 has joined the server (207:127.0.0.1)
[18:40:00] [npc:join] [BOT]VehicleDealer128 has joined the server (206:127.0.0.1)
[18:40:00] [npc:join] [BOT]VehicleDealer129 has joined the server (205:127.0.0.1)
[18:40:00] [npc:join] [BOT]Banker130 has joined the server (204:127.0.0.1)
[18:40:00] [npc:join] [BOT]Banker131 has joined the server (203:127.0.0.1)
[18:40:00] [npc:join] [BOT]Banker132 has joined the server (202:127.0.0.1)
[18:40:00] [npc:join] [BOT]Banker133 has joined the server (201:127.0.0.1)
[18:40:00] [npc:join] [BOT]Pawnbroker134 has joined the server (200:127.0.0.1)
[18:40:00] [npc:join] [BOT]Pawnbroker135 has joined the server (199:127.0.0.1)
[18:40:00] [npc:join] [BOT]Pawnbroker136 has joined the server (198:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier137 has joined the server (197:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier138 has joined the server (196:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier139 has joined the server (195:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier140 has joined the server (194:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier141 has joined the server (193:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier142 has joined the server (192:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier143 has joined the server (191:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier144 has joined the server (190:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier145 has joined the server (189:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier146 has joined the server (188:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier147 has joined the server (187:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier148 has joined the server (186:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier149 has joined the server (185:127.0.0.1)
[18:40:00] [npc:join] [BOT]GasCashier150 has joined the server (184:127.0.0.1)
[18:40:00] [npc:join] [BOT]TriadBoss151 has joined the server (183:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad0 has joined the server (182:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad1 has joined the server (181:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad2 has joined the server (180:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad3 has joined the server (179:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad4 has joined the server (178:127.0.0.1)
[18:40:00] [npc:join] [BOT]TriadBoss152 has joined the server (177:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad5 has joined the server (176:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad6 has joined the server (175:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad7 has joined the server (174:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad8 has joined the server (173:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad9 has joined the server (172:127.0.0.1)
[18:40:00] [npc:join] [BOT]TriadBoss153 has joined the server (171:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad10 has joined the server (170:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad11 has joined the server (169:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad12 has joined the server (168:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad13 has joined the server (167:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad14 has joined the server (166:127.0.0.1)
[18:40:00] [npc:join] [BOT]TriadBoss154 has joined the server (165:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad15 has joined the server (164:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad16 has joined the server (163:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad17 has joined the server (162:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad18 has joined the server (161:127.0.0.1)
[18:40:00] [npc:join] [BOT]Triad19 has joined the server (160:127.0.0.1)
[18:40:00] [npc:join] [BOT]MafiaBoss155 has joined the server (159:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier20 has joined the server (158:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier21 has joined the server (157:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier22 has joined the server (156:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier23 has joined the server (155:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier24 has joined the server (154:127.0.0.1)
[18:40:00] [npc:join] [BOT]MafiaBoss156 has joined the server (153:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier25 has joined the server (152:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier26 has joined the server (151:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier27 has joined the server (150:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier28 has joined the server (149:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier29 has joined the server (148:127.0.0.1)
[18:40:00] [npc:join] [BOT]MafiaBoss157 has joined the server (147:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier30 has joined the server (146:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier31 has joined the server (145:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier32 has joined the server (144:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier33 has joined the server (143:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier34 has joined the server (142:127.0.0.1)
[18:40:00] [npc:join] [BOT]MafiaBoss158 has joined the server (141:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier35 has joined the server (140:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier36 has joined the server (139:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier37 has joined the server (138:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier38 has joined the server (137:127.0.0.1)
[18:40:00] [npc:join] [BOT]Soldier39 has joined the server (136:127.0.0.1)
[18:40:00] [npc:join] [BOT]MilitiaBoss has joined the server (135:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia40 has joined the server (134:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia41 has joined the server (133:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia42 has joined the server (132:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia43 has joined the server (131:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia44 has joined the server (130:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia45 has joined the server (129:127.0.0.1)
[18:40:00] [npc:join] [BOT]Militia46 has joined the server (128:127.0.0.1)
[18:40:00] [ROBBERIES]: 191 safe robberies have been successfully loaded.
[18:40:01] [POOL TABLES]: 37 pool tables have been successfully loaded.
[18:40:01]  * [TPoker]: TPoker by ThreeKingz has been succesfully loaded!
[18:40:01] [npc:join] [BOT]VisageCashier160 has joined the server (127:127.0.0.1)
[18:40:01] [npc:join] [BOT]VisageCashier161 has joined the server (126:127.0.0.1)
[18:40:01] -> Boxing System - By: Damen
[18:40:01] MapAndreas successfully initiated

[0.3.DL] Los SAntos Cop Chase

Image may be NSFW.
Clik here to view.


ABOUT THE SERVER

Los Santos Cop Chase is a server for SAMP running on the version 0.3.7-DL. The server has been running with a stable player base since 2018 and is still running to this day. Right now the server is keeping a stable playerbase of 10-30 players online daily.

THE GAMEMODE

The gamemode is "Cop Chase". Here's a brief explanation:
A certain amount of players gets picked to be fugitives each round while the rest are set to be the cops and a random map will be picked - maps are all over San Andreas for players to evade on. The goal for fugitives is to either evade the cops long enough for them to escape, or to murder all the cops to win.
Cops' goal is to either arrest the fugitives if they do not shoot, and if they do, you must neutralize them with lethal force.

There are also certain special events like Bank Robbery, and Prison Break, and many more are going to be implemented. Speaking of implementations, the gamemode is being updated regularly with new features & bug fixes which will only improve the experience.


THE STAFF

The staff of Los Santos Cop Chase will always hop in to help you whenever you need it - we are online 24/7!

INFORMATION

SERVER IP
51.89.22.60:7777
FORUMS
forum.ls-cc.com
DISCORD
https://discord.gg/XnB5s4N

Image may be NSFW.
Clik here to view.

PAWN Compiler Output

PHP Code:

Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase

Header size
:            976 bytes
Code size
:            11028 bytes
Data size
:            18604 bytes
Stack
/heap size:      16384 bytesestimated maxusage=5014 cells (20056 bytes)
Total requirements:   46992 bytes 

What does it mean?

From the beginning i had:
PHP Code:

Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 

I'm using too much cells?

[HELP] Ad System by TextDraw

Hello SA:MP Community

I am trying to modify an Ad System by Textdraw, (made by Felipe Blanco, credits to him).
What I want to do practically, is that when sending an ad, it appears, and after "X" number of seconds, it disappears, and if at the same time, another person sends an ad, it appears at the bottom, but .. Since there are only 5 TextDraw in total, if the last TextDraw is already being used, and a player sends another announcement, it appears at the top, again, that is to say in the first TextDraw, and so on and off, go down until get to number 5, and from there again appear above.
PD: If an anti bug is also possible, so that if 5 people send an ad, and at the same time, a 6 player wants to make use of the ad, it does not collapse with one another, if not, for example: If the TextDraw 1,2,3,4 and 5 are being used, and there is no space for another ad, a message is sent to the player that the ads are full, and when one of them disappears (this with the variable of the time that goes to disappear) the first TextDraw you find free, show it there, in that TextDraw space that is no longer being used.

Filterscript Code:
pawn Code:
/*

                    SISTEMA DE ANUNCIOS v0.1

    Comandos:
    /anuncio [texto] - Para publicar un anuncio en la pantalla
    /resetearanuncios - Borra los anuncios de la pantalla, por si hacen spam
   
*/



/* INCLUDES */
#include <a_samp>
#include <zcmd>
#include <sscanf2>


#define NA 5 /* Cantidad de anuncios (Recuerden agregar textdraw) */

new TiempoAnuncio[MAX_PLAYERS],Text:TextDraw[5];

enum anuncios
{
    Texto[75]
};

new Anuncio[NA][anuncios];

public OnFilterScriptInit()
{

    print("Sistema de anuncios, por Felipe Blanco");
    SetTimer("Timer",1000,1);

    TextDraw[0] = TextDrawCreate(360.625000, 363.833374, "~g~Anuncio:~w~ Se vende un pito de goma a gran precio ~g~(Movil: 3250)");
    TextDrawLetterSize(TextDraw[0], 0.152500, 1.232499);
    TextDrawAlignment(TextDraw[0], 1);
    TextDrawColor(TextDraw[0], -1);
    TextDrawSetShadow(TextDraw[0], 0);
    TextDrawSetOutline(TextDraw[0], 1);
    TextDrawBackgroundColor(TextDraw[0], 255);
    TextDrawFont(TextDraw[0], 1);
    TextDrawSetProportional(TextDraw[0], 1);
    TextDrawSetShadow(TextDraw[0], 0);

    TextDraw[1] = TextDrawCreate(360.625000, 376.083007, "~g~Anuncio:~w~ Se vende un pito de goma a gran precio ~g~(Movil: 3250)");
    TextDrawLetterSize(TextDraw[1], 0.152500, 1.232499);
    TextDrawAlignment(TextDraw[1], 1);
    TextDrawColor(TextDraw[1], -1);
    TextDrawSetShadow(TextDraw[1], 0);
    TextDrawSetOutline(TextDraw[1], 1);
    TextDrawBackgroundColor(TextDraw[1], 255);
    TextDrawFont(TextDraw[1], 1);
    TextDrawSetProportional(TextDraw[1], 1);
    TextDrawSetShadow(TextDraw[1], 0);

    TextDraw[2] = TextDrawCreate(360.625000, 390.666503, "~g~Anuncio:~w~ Se vende un pito de goma a gran precio ~g~(Movil: 3250)");
    TextDrawLetterSize(TextDraw[2], 0.152500, 1.232499);
    TextDrawAlignment(TextDraw[2], 1);
    TextDrawColor(TextDraw[2], -1);
    TextDrawSetShadow(TextDraw[2], 0);
    TextDrawSetOutline(TextDraw[2], 1);
    TextDrawBackgroundColor(TextDraw[2], 255);
    TextDrawFont(TextDraw[2], 1);
    TextDrawSetProportional(TextDraw[2], 1);
    TextDrawSetShadow(TextDraw[2], 0);

    TextDraw[3] = TextDrawCreate(360.000000, 405.249847, "~g~Anuncio:~w~ Se vende un pito de goma a gran precio ~g~(Movil: 3250)");
    TextDrawLetterSize(TextDraw[3], 0.152500, 1.232499);
    TextDrawAlignment(TextDraw[3], 1);
    TextDrawColor(TextDraw[3], -1);
    TextDrawSetShadow(TextDraw[3], 0);
    TextDrawSetOutline(TextDraw[3], 1);
    TextDrawBackgroundColor(TextDraw[3], 255);
    TextDrawFont(TextDraw[3], 1);
    TextDrawSetProportional(TextDraw[3], 1);
    TextDrawSetShadow(TextDraw[3], 0);

    TextDraw[4] = TextDrawCreate(360.625000, 419.250000, "~g~Anuncio:~w~ Se vende un pito de goma a gran precio ~g~(Movil: 3250)");
    TextDrawLetterSize(TextDraw[4], 0.152500, 1.232499);
    TextDrawAlignment(TextDraw[4], 1);
    TextDrawColor(TextDraw[4], -1);
    TextDrawSetShadow(TextDraw[4], 0);
    TextDrawSetOutline(TextDraw[4], 1);
    TextDrawBackgroundColor(TextDraw[4], 255);
    TextDrawFont(TextDraw[4], 1);
    TextDrawSetProportional(TextDraw[4], 1);
    TextDrawSetShadow(TextDraw[4], 0);
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

public OnGameModeInit()
{
    return 1;
}

public OnGameModeExit()
{
    return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
    return 1;
}

public OnPlayerConnect(playerid)
{
    TiempoAnuncio[playerid] = 0;
    return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
    return 1;
}

public OnPlayerSpawn(playerid)
{
    return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    return 1;
}

public OnVehicleSpawn(vehicleid)
{
    return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
    return 1;
}

public OnPlayerText(playerid, text[])
{
    return 1;
}

public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    return 1;
}

public OnPlayerExitVehicle(playerid, vehicleid)
{
    return 1;
}

public OnPlayerStateChange(playerid, newstate, oldstate)
{
    return 1;
}

public OnPlayerEnterCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveCheckpoint(playerid)
{
    return 1;
}

public OnPlayerEnterRaceCheckpoint(playerid)
{
    return 1;
}

public OnPlayerLeaveRaceCheckpoint(playerid)
{
    return 1;
}

public OnRconCommand(cmd[])
{
    return 1;
}

public OnPlayerRequestSpawn(playerid)
{
    return 1;
}

public OnObjectMoved(objectid)
{
    return 1;
}

public OnPlayerObjectMoved(playerid, objectid)
{
    return 1;
}

public OnPlayerPickUpPickup(playerid, pickupid)
{
    return 1;
}

public OnVehicleMod(playerid, vehicleid, componentid)
{
    return 1;
}

public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
    return 1;
}

public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
    return 1;
}

public OnPlayerSelectedMenuRow(playerid, row)
{
    return 1;
}

public OnPlayerExitedMenu(playerid)
{
    return 1;
}

public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
    return 1;
}

public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    return 1;
}

public OnRconLoginAttempt(ip[], password[], success)
{
    return 1;
}

public OnPlayerUpdate(playerid)
{
    return 1;
}

public OnPlayerStreamIn(playerid, forplayerid)
{
    return 1;
}

public OnPlayerStreamOut(playerid, forplayerid)
{
    return 1;
}

public OnVehicleStreamIn(vehicleid, forplayerid)
{
    return 1;
}

public OnVehicleStreamOut(vehicleid, forplayerid)
{
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    return 0;
}

public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
    return 1;
}

CMD:anuncio(playerid,params[])
{
    new anuncio[75];
    if(strlen(params) >= 74) return SendClientMessage(playerid,-1,"Ingresaste un anuncio muy largo.");
    if(sscanf(params,"s[75]",anuncio)) return SendClientMessage(playerid,-1,"Usa /anuncio [anuncio]");
    new string[200];
    if(TiempoAnuncio[playerid] > 0)
    {
        format(string,100,"Espera %d segundos para poder hacer otro anuncio.",TiempoAnuncio[playerid]);
        SendClientMessage(playerid,-1,string);
        return true;
    }
    TiempoAnuncio[playerid] = 60;
    for(new a; a < NA-1; a++)
    {
        if(strlen(Anuncio[a+1][Texto]) > 0)
        {
            format(Anuncio[a][Texto],75,"%s",Anuncio[a+1][Texto]);
            format(string,sizeof(string),"~g~Anuncio:~w~ %s ~g~(Movil: 3250)",Anuncio[a][Texto]);
            TextDrawSetString(TextDraw[a],string);
            TextDrawShowForAll(TextDraw[a]);
        }
    }
    Anuncio[NA-1][Texto] = anuncio;
    format(string,sizeof(string),"~g~Anuncio:~w~ %s ~g~(Movil: 3250)",anuncio);
    TextDrawSetString(TextDraw[NA-1],string);
    TextDrawShowForAll(TextDraw[NA-1]);
    return true;
}

CMD:resetanuncios(playerid,params[])
{
    if(!IsPlayerAdmin(playerid)) return 1; // Por si hacen spam en los anuncios, pueden borrarlos
    for(new a; a < NA; a++)
    {
        if(strlen(Anuncio[a][Texto]) > 0)
        {
            format(Anuncio[a][Texto],35,"");
            TextDrawHideForAll(TextDraw[a]);
        }
    }
    return true;
}

forward Timer();
public Timer()
{
    for(new i, j = GetPlayerPoolSize(); i <= j; i++)
    {
        if(IsPlayerConnected(i) && TiempoAnuncio[i] > 0) TiempoAnuncio[i] --;
    }
    return true;
}

If someone can guide me on how to do it, or in itself, to create an example of the script to do it, I would greatly appreciate it, and if possible give it a reputation, I am grateful in advance for your help, have a good afternoon.

- Cheers

0.3.DL internet it's not working

Hello,
0.3.DL internet it's not working (found 0 servers). Thanks for repair.

Dialog Error

Hey, so i have that code which gives no output error yet doesn't works. The only thing that appears when i executive the command is "Switch To Roleplay" inside the dialog, i don't know why it doesn't works. If anyone could help, i'd be very thankful.


Code:

CMD:secretacp(playerid, params[])
{
        if(PlayerInfo[playerid][pAdmin] < 2)
        {
            return SendClientMessage(playerid, COLOR_GREY, "You are not authorized to use this command.");
        }
        if(PlayerInfo[playerid][pAdmin] == 9)
        {
            return ShowPlayerDialog(playerid, DIALOG_OEDACPIG, DIALOG_STYLE_LIST, "OED Control Panel", "Dispatch RCON \n Disable Anticheat\n Enable Anticheat\n Restart Server\n Reset a System\n Mass Unban\n Change Mode", "Select", "Cancel");
        }
        if(PlayerInfo[playerid][pAdmin] == 10)
        {
                new oedDialog[196];
                format(oedDialog, sizeof(oedDialog), "Dispatch RCON\n");
                if(gAnticheat == 1)
                {
                        format(oedDialog, sizeof(oedDialog), "Disable Anticheat\n");
                }
                else
                {
                        format(oedDialog, sizeof(oedDialog), "Enable Anticheat\n");
                }
                format(oedDialog, sizeof(oedDialog), "Restart Server\n");
                format(oedDialog, sizeof(oedDialog), "Reset a System\n");
                format(oedDialog, sizeof(oedDialog), "Mass Unban\n");
                //format(oedDialog, sizeof(oedDialog), "Welcome back to our server, %s!\n", pName);
                if(hServerMode == 0)
                {
                        format(oedDialog, sizeof(oedDialog), "Switch to RPG\n");
                }
                if(hServerMode == 1)
                {
                        format(oedDialog, sizeof(oedDialog), "Switch to Roleplay\n");
                }
                ShowPlayerDialog(playerid, DIALOG_OEDACPIG, DIALOG_STYLE_LIST, "OED Control Panel", oedDialog, "Select", "Cancel");
        }
    return 1;
}

[0.3DL] Project Reality Roleplay [Heavy-RP]

[Map] Carreta + Esteira Em Cima

Uma carreta com um caminhao em cima, fiz ambos separados ja, mas melhorei e fiz uma versao diferente com mais utilidade, bastante legal e util para servidor freeroam e de truck servers.
To fazendo um Fs em que a carreta se move na avenida de Las Venturas tambem (Otimo para servidores 4fun)


Enfim, espero que gostem!


Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.

Image may be NSFW.
Clik here to view.



Download: Cliqie Aqui
Mais Imagens: Clique Aqui
Autor: AlieN_ Aka AdrianO
Viewing all 18226 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>