Quantcast
Channel: SA-MP Forums
Viewing all 18226 articles
Browse latest View live

Ultimate Roleplay [0.3.7/0.3DL]

$
0
0


~


_____Server Information_____
SA:MP: 193.70.81.128:7777
Website: theultimateroleplay.com
UCP: ucp.theultimateroleplay.com
Donate: shop.theultimateroleplay.com
Discord: discord.gg/nc9tnDV
Teamspeak: ts.theultimateroleplay.com


~

About the Ultimate Roleplay server - Ultimate Roleplay provides a fun, professional and family like atmosphere to all it’s new and existing players. It’s excitement stems from a quality level of role-playing that can be facilitated by the community’s diverse locations. In saying this, we’re happy to announce our newest expansion from Los Santos where players are now given the opportunity to experience and enjoy role-playing in the counties. However, there’s more, players can indeed benefit from other exciting and enjoyable features that the server provides.



Ultimate roleplay furniture system - https://www.*******.com/watch?v=pSDdsks9_W8

Cookies - When we talk about Ultimate Roleplay, there's a unique system known as cookies. Cookies are given by Admins whenever they wish to or they can be obtained in different ways for example, like winning in events. After obtaining a specific amount of cookies you can use them to purchase things by using a command in game called /usecookies. If you're able to reach 200 cookies, you may use them to get e.g a FREE HOUSE TICKET having a value upto $250,000.00. After you have used your cookies your account will be flagged with either a Vehicle/House/Business, whatever you have used them for. /report to claim your prize and an admin will come to your aid.







~

PM System - PM system otherwise known as Private Message can be used to communicate with players privately. It is an OOC chat and can be used by typing [/pm (Player ID) *Text*] CMD. A player can only access this command by reaching 10 playing hours in the server.



~

Dicebet - Love to gamble? We have a dicebet system which allows you to gamble and win cash against other players.



~

VIP - Being a VIP a player has several benefits. Every VIP status has it's own perks. There are three types of VIP status:

1. Limited VIP
2. Ultimate VIP
3. Legendary VIP


VIP can be acquired/obtained by making a donation to the server or by winning it as an EVENT Prize.

~

Land/Furniture System - Here comes pictures of our land system together with a video of our furniture system. The pictures and video will explain how they work aswell as how they look.

Ultimate Roleplay Land Previews

[MEDIA=]pSDdsks9_W8[/MEDIA]

~

GPS System - Want to find your way around the server without help from a helper? Grab yourself a GPS! It will show you all kinds of locations along with where your properties are.



~

Jobs - We have a variety of legal and Illegal jobs to choose from.



~

Factions - We currently have 8 factions. We are hiring facion leaders! You can apply to lead a faction via our forums.



~

Gangs - We have a wide variety of gangs ranging from Bikers to Bloods - A turf system that come with perks such as materials, weapons and drugs that are placed directly into your gangs stash once a turf has been captured by your gang! Points also gives gangs perks such as turf tokens and gang points. Gang points can be used to upgrade things for your gang such as a dynamic duel arena for your gang to practice, increased gang slots for more members and increased assets for more cars and a higher level gang stash to hold more overall items. Bumped heads with a rival gang? You can offer a "war" with them using /gang war from there its on sight!







~

Events - In addition, players benefit from frequent events which in most cases occurs daily. These events varies from Team Death Match (TDM) Death Match Events (DM) Avoid The Plane (ATP) Races.

~

Dedicated players - Players are rewarded for their loyalty to the community. The server offers a dedicated player tag to any player that exceeds 250 hours playing on the server. These hours can be obtained simply by collecting your paycheck. The paycheck is given to each player at the starting of a new hour. In collecting your paycheck, the player will be able to capitalize on the hour being added to their stats [/stats]. The community believes in rewarding loyal players and as a result, after successfully competing 250 hours, they’ll be automatically assigned a Dedicated Player tag.



~

Moderator/Helpers - This server strives with proper effective and efficient leadership. With that being said, outside of actual administration we assign moderators and helpers who lead and assist players in making their ultimate transition. Our helper team consists of helpers who are willing and ready to assist with all queries whether privately [/helpme] or publicly [/n]. They are equipped with the necessary information which is needed to inform and answer all your questions. In addition, our Moderator team performs similar but more actions to the helper. The moderator assists admins as they’re viewed to be in the recruiting stage in becoming an admin. They assist in ensuring that players are being treated fairly and is able to enjoy what the server has to offer. Interested in becoming a member? The server is currently hiring members to be apart of both teams. However, they must meet the requirements which includes: Dedication to the server, being active, showing a high level of professionalism, ensuring they’re aware of all the server rules and is not a player that breaks any rules and is able to be flexible in terms of ensuring that the needs of players are being met at anytime while on the server.

~

Teamspeak - Teamspeak (TS3) is used for this account. The address and all other required addresses can be found simply by visiting our forum website or by simply typing [/info] while in game.
Discord - Like Teamspeak, our discord information can be found simply by visiting our forum website or by simply typing [/info] while in game.


Multimedia - Multimedia is always on the look-out for graphic designers and video designers aswell. We are currently looking for graphic designers mostly though, the application status is open at the moment so feel free to apply at any time on our forum.
Mapping - To be apart of the mapping team is not always that easy for everyone. We are currently looking for qualified mappers who are willing to put the time and effort into their mappings for the server, feel free to apply at anytime as STORE CREDIT will be given to all qualified and hired Multimedia and Mapping help.


~


_____Server Information_____
SA:MP: 193.70.81.128:7777
Website: theultimateroleplay.com
UCP: ucp.theultimateroleplay.com
Donate: shop.theultimateroleplay.com
Discord: discord.gg/nc9tnDV
Teamspeak: ts.theultimateroleplay.com


~

We at Ultimate Roleplay appreciate your time and look forward to seeing you in the game.

~


[Ajuda] 26 Erros

[Ajuda] CreateDynamicMapIcon / Carregar icones casa

$
0
0
Boa noite, bom, estou atualizando um sistema de casa, e arrumando uns bugs, esta tudo quase pronto já porem tem um problema no mapa onde mostra as casas que estão disponiveis e as casas que estão compradas.

O que acontece é o seguinte, vamos supor que eu tenho 4 casas criadas no servidor, todas disponiveis, e todas estão verdes no radar, ai eu vou lá e compro uma, a casa que eu comprei, ira ficar vermelha, então sobrou 3 casas verdes no radar, ai eu me afasto 100 metros das casas, e todas somem ( isso pq coloquei limite de 100 metros ), e então eu volto e a casa que eu comprei, no radar ela volta aparecer Verde de disponivel, porem ela é uma propriedade minha, ai quando eu renicio o servidor funciona normal, 3 casas verdes e a minha vermelha, ai eu vendo ela, ela fica verde, me afasto 100 metros, e quando volto para perto, ela continua vermelha, porem não é mais minha. Como posso resolver isso?

PHP Code:

stock LoadHouses()
{
    new 
file[50], labelstring[144], stringlabel[144];
    for(new 
0MAX_HOUSESi++)
    {
        
format(filesizeof(file), "Houses/%d.ini"i);
        if(
fexist(file))
        {
            
CasaInfo[i][CasaDono] = DOF2_GetInt(file"Owned");
            
CasaInfo[i][CasaValor] = DOF2_GetInt(file"Price");
            
CasaInfo[i][CasaInterior] = DOF2_GetInt(file"Interior");
            
CasaInfo[i][hX] = DOF2_GetFloat(file"Position X");
            
CasaInfo[i][hY] = DOF2_GetFloat(file"Position Y");
            
CasaInfo[i][hZ] = DOF2_GetFloat(file"Position Z");
            
CasaInfo[i][hEnterX] = DOF2_GetFloat(file"Enter X");
            
CasaInfo[i][hEnterY] = DOF2_GetFloat(file"Enter Y");
            
CasaInfo[i][hEnterZ] = DOF2_GetFloat(file"Enter Z");
            
strmid(CasaInfo[i][CasaProprietario], DOF2_GetString(file"Owner"), falsestrlen(DOF2_GetString(file"Owner")), MAX_PLAYER_NAME);
            
format(labelstringsizeof(labelstring), "{15FF00}Casa ID: {FFFFFF}%d\n{15FF00}Status: {FFFFFF}A venda\n{15FF00}Price: {FFFFFF}%d"iCasaInfo[i][CasaValor]);
            
format(stringlabelsizeof(stringlabel), "{15FF00}Casa ID: {FFFFFF}%d\n{15FF00}Proprietário: {FFFFFF}%s\n{15FF00}Preço: {FFFFFF}%d"iCasaInfo[i][CasaProprietario], CasaInfo[i][CasaValor]);
            if(
CasaInfo[i][CasaDono] == 0)
            {
                
CasasDisponiveis[casaid] = CreateDynamicMapIcon(CasaInfo[i][hX], CasaInfo[i][hY], CasaInfo[i][hZ], 31, -1, -10, -1100.0);
                
CasaInfo[i][CasaPickup] = CreatePickup(12731CasaInfo[i][hX], CasaInfo[i][hY], CasaInfo[i][hZ]);
                
CasaInfo[i][CasaTexto] = Create3DTextLabel(labelstring0xFFFFFFFFCasaInfo[i][hX], CasaInfo[i][hY], CasaInfo[i][hZ], 30.000);
            }
            else if(
CasaInfo[i][CasaDono] == 1)
            {
                
CasasCompradas[casaid] = CreateDynamicMapIcon(CasaInfo[i][hX], CasaInfo[i][hY], CasaInfo[i][hZ], 32, -1, -10, -1100.0);
                
CasaInfo[i][CasaPickup] = CreatePickup(12721CasaInfo[i][hX], CasaInfo[i][hY], CasaInfo[i][hZ]);
                
CasaInfo[i][CasaTexto] = Create3DTextLabel(stringlabel0xFFFFFFFFCasaInfo[i][hX], CasaInfo[i][hY], CasaInfo[i][hZ], 30.000);
            }
            
casaid++;
        }
    } 

Aqui está a Stock que carrega a casa, notasse que há
Quote:

CasasDisponiveis
e
Quote:

CasasCompradas
A stock esta inserida em
PHP Code:

OnGameModeInit() 

E no comando de /comprarcasa < quando o player compra a casa, destrói o mapicon verde e coloca um vermelho no lugar. e quando ele vende a casa destrói o vermelho e coloca um verde no lugar, é aplicado na hora a alteração, porem quando o player se afasta os 100 metros e volta, volta ao mapicon anterior ...

[Ajuda] Carro trancado e gangzone

$
0
0
Olá pessoal tudo bem então to com um projeto aqui e nao to conseguindo desevolver sou meio novo nessas programação e gostaria que voces me de ajuda-se pode ser umas coisas meio boba mais eu nao sei nei como começa kk. entao eu queria tipo coloca ums veiculo no meio do mapa so como faso para deixar eles trancado para ninguem pegar eles e o da gangzone e uma zona que, quando um jogando entra nessa zona ele começa a perde vida alguem pode me ajuda ?

[Ajuda] ajuda dof2 As vezes nao salva dinheiro

$
0
0
qnd salva
PHP Code:

DOF2_SetInt(arquivo"dinheiro"GetPlayerMoney(playerid)); 

qnd loga

PHP Code:

Player[playerid][pDinheiro] = DOF2_GetInt(arquivo"dinheiro");
GivePlayerMoney(playeridPlayer[playerid][pDinheiro]); 

[Include] Irresistible Anticheat & Weapon Shot Sync System (Lightweight)

$
0
0
Irresistible Anticheat

An extension of my renowned fuckCleo project. More up to date and more powerful.

The anticheat handles everything included in this enumerator (including the commented parts).

The whole system is modular, so ideally you can copy the things you need.

An example, is the recent bot attack hack. I have made a script recently to mitigate this as much as possible.

I'm making a seperate thread for this because it is a key take from open sourcing my gamemode.

90% of the hacks your server will face will automatically be mitigated with the help from this anticheat.

Download

zeelorenc/sf-cnr/tree/master/gamemodes/irresistible/anticheat

(All the files in that link are a part of the anticheat). Put them all in a folder.

Documentation

CHEAT_TYPE_MONEY

This has its own functions. I haven't bothered to hook giveplayermoney just to be absolutely safe. Only thing not Plug n Play is this.

GivePlayerCash( playerid, amount )
GetPlayerCash( playerid )

Introduces OnPlayerMoneyChanged callback as well.
pawn Code:
#if defined AC_INCLUDED
    public OnPlayerMoneyChanged( playerid, amount )
    {
        // save player money on each monetary movement
        if ( IsPlayerLoggedIn( playerid ) )
        {
            mysql_single_query( sprintf( "UPDATE `USERS` SET `CASH` = %d WHERE `ID` = %d", GetPlayerCash( playerid ), GetPlayerAccountID( playerid ) ) );
        }
        return 1;
    }
#endif

CHEAT_TYPE_PLAYERBUGGER

Restores player position if it is very exaggerated/far at random.

CHEAT_TYPE_WEAPON

Almost flawless. But no ammo detection. Just simple weapon hack detection. I'd say 99% accurate.

CHEAT_TYPE_CARWARP

If a car flies randomly it won't be synced to other players.

CHEAT_TYPE_FAKEKILL

When a player spams deaths / or death by another individual.

CHEAT_TYPE_REMOTE_JACK

Abnormal remote jacking detection. Large credit to JernejL.

CHEAT_TYPE_HEALTH / ARMOUR

While writing this I noticed these types are redundant due to my new system.

It is based off client-sided shooting and has the most basic/lightweight validation.

10x more lightweight than slice's one. 600 lines. His is 6000. Not a diss.

Replaced callbacks:
pawn Code:
#if defined AC_INCLUDED
public OnPlayerDeathEx( playerid, killerid, reason, Float: damage, bodypart )
#else
public OnPlayerDeath( playerid, killerid, reason )
#endif
{
    return 1;
}

#if defined AC_INCLUDED
public OnPlayerTakePlayerDamage( playerid, issuerid, &Float: amount, weaponid, bodypart )
{
    return 1; // returning 0 will prevent user from taking damage (THIS IS A BIG FEATURE!)
}
#endif

Note, has a RARE bug when a player dies with 99 damage. It simply will not register their death, nothing big. To be fixed by someone hopefully soon.

CHEAT_TYPE_AIRBRAKE

Credit to Emmet_. I don't think I made this, but I do recall Kar helping to improve this.

This was years ago. I don't speak frequently with these blokes anymore.

CHEAT_TYPE_PROAIM

90% accurate at first detection. 99% accurate after 3 lines of spam.

CHEAT_TYPE_AUTOCBUG

Same thing.

90% accurate at first detection. 99% accurate after 3 lines of spam.

CHEAT_TYPE_FLYHACKS

Pretty accurate for basic fly hack detection.

CHEAT_TYPE_RAPIDFIRE

That annoying hack where people shoot snipers, and other weapons very fast.

CHEAT_TYPE_CAR_PARTICLE_SPAM

When a car's doors etc are spammed all over the place by a hacker. Pretty accurate (should desync the player ideally).

CHEAT_TYPE_PICKUP_SPAM

When a user picks up a lot of pickups in a short timespan.

90% accurate at first detection. 99% accurate after 3 lines of spam.

Instructions

It is designed to be plug and play. REQUIRES YSI 3.
  1. Copy the anticheat folder into your includes folder
  2. #include "anticheat\_anticheat.pwn"

Sample code in your gamemode after including (more samples in the whole sf-cnr project e.g gamemodes/sf-cnr.pwn):

pawn Code:
#if defined AC_INCLUDED
    public OnPlayerCheatDetected( playerid, detection, params )
    {
        if ( detection == CHEAT_TYPE_REMOTE_JACK )
        {
            if ( GetPlayerScore( playerid ) < 200 )
            {
                SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been kicked for abnormally jacking vehicles.", ReturnPlayerName( playerid ), playerid );
                SendClientMessageToAdmins( -1, ""COL_PINK"[ABNORMAL JACKING]"COL_GREY" %s(%d) - %d score - %d ping - %s IP", ReturnPlayerName( playerid ), playerid, GetPlayerScore( playerid ), GetPlayerPing( playerid ), ReturnPlayerIP( playerid ) );
                return Kick( playerid ), 1;
            }
            SendClientMessageToAdmins( -1, ""COL_PINK"[ABNORMAL JACKING]"COL_GREY" %s(%d) is a suspect of jacking vehicles abnormally.", ReturnPlayerName( playerid ), playerid );
        }
        else if ( detection == CHEAT_TYPE_RAPIDFIRE )
        {
            SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been kicked for rapid-firing.", ReturnPlayerName( playerid ), playerid );
            Kick( playerid );
        }
        else if ( detection == CHEAT_TYPE_FAKEKILL )
        {
            SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been banned for fake-killing.", ReturnPlayerName( playerid ), playerid );
            BanEx( playerid, "Fake-kill" );
        }
        else if ( detection == CHEAT_TYPE_CARWARP )
        {
            if ( ! GetPlayerAdminLevel( playerid ) )
            {
                SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been banned for car warping.", ReturnPlayerName( playerid ), playerid );
                BanEx( playerid, "Car Warp" );
            }
        }
        else if ( detection == CHEAT_TYPE_AIRBRAKE )
        {
            //SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been banned for airbraking.", ReturnPlayerName( playerid ), playerid );
            //AdvancedBan( playerid, "Server", "Airbrake", ReturnPlayerIP( playerid ) );
            SendClientMessageToAdmins( -1, ""COL_PINK"[ABNORMAL MOVEMENT]"COL_GREY" %s(%d) has been detected for airbrake.", ReturnPlayerName( playerid ), playerid );
        }
        else if ( detection == CHEAT_TYPE_FLYHACKS )
        {
            SendClientMessageToAdmins( -1, ""COL_PINK"[ABNORMAL MOVEMENT]"COL_GREY" %s(%d) has been detected for fly hacks.", ReturnPlayerName( playerid ), playerid );
            // SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been banned for fly hacks.", ReturnPlayerName( playerid ), playerid );
            // AdvancedBan( playerid, "Server", "Fly Hacks", ReturnPlayerIP( playerid ) );
        }
        else if ( detection == CHEAT_TYPE_WEAPON )
        {
            SendClientMessageToAdmins( -1, ""COL_PINK"[ANTI-CHEAT]"COL_GREY" %s(%d) has been detected for weapon hack (%s).", ReturnPlayerName( playerid ), playerid, ReturnWeaponName( params ) );
        }
        else if ( detection == CHEAT_TYPE_CAR_PARTICLE_SPAM )
        {
            SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been kicked for car particle spam.", ReturnPlayerName( playerid ), playerid );
            Kick( playerid );
        }
        else if( detection == CHEAT_TYPE_PICKUP_SPAM )
        {
            SendGlobalMessage( -1, ""COL_PINK"[ANTI-CHEAT]{FFFFFF} %s(%d) has been banned for rapid pickup spam.", ReturnPlayerName( playerid ), playerid );
            BanEx( playerid, "Pickup Spam" );
        }
        else
        {
            SendClientMessageToAdmins( -1, ""COL_PINK"[ANTI-CHEAT]"COL_GREY" %s(%d) has been detected for %s.", ReturnPlayerName( playerid ), playerid, AC_DetectedCheatToString( detection ) );
        }
        return 1;
    }
#endif

Designed to work with all my (Irresisitible Gaming) gamemodes (currently only the SF-CNR & COD projects).

Then you are done.

Final notes

I have honestly rushed to make this thread, but yeah. I've made my anticheat so simple that it should be pretty understandable to most scripters.

There are a lot of samples in the SF-CNR repo. Just use the GitHub search feature for specific things etc.

I'll try attend simple questions here but for now my help is honestly limited.

One error Mysql

Error 76: Syntax error in the expression, or invalid function call

$
0
0
Hello. I need help with this error, I don't see any difference between the three lines of mysql_format ( which I used because if I combine them all the line is too big ) but it still gives me this error:
Code:

Error 76: Syntax error in the expression, or invalid function call
The line where the error is is "mysql_format(Database, query2...)"
Code:

public OnPlayerDisconnect(playerid)
{
        new query[300], query1[300], query2[300], Float:pos[4];
        new skin = GetPlayerSkin(playerid);
        GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
        GetPlayerFacingAngle(playerid, pos[3]);

        mysql_format(Database, query, sizeof(query), "UPDATE `account` SET `Cash` = '%i', `Bank` = '%i', `Level` = '%i', `Points` = '%i', `Admin` = '%i', `Tester` = '%i', `Donator` = '%i' WHERE `ID` = '%i'", pInfo[playerid][Cash], pInfo[playerid][Bank], pInfo[playerid][Level], pInfo[playerid][Points], pInfo[playerid][Admin], pInfo[playerid][Tester], pInfo[playerid][Donator], pInfo[playerid][ID]);
        mysql_format(Database, query1, sizeof(query1), "UPDATE `account` SET `Car1` = '%i', `Car2` = '%i', `Car3` = '%i', `House` = '%i', `Business' = '%i', `Faction` = '%i', `FRank` = '%i', `FLeader` = '%i' WHERE `ID` = '%i'", pInfo[playerid][Car1], pInfo[playerid][Car2], pInfo[playerid][Car3], pInfo[playerid][House], pInfo[playerid][Business], pInfo[playerid][Faction], pInfo[playerid][FRank], pInfo[playerid][FLeader], pInfo[playerid][ID]);
        mysql_format(Database, query2, sizeof(query2), "UPDATE `account` SET `Job` = '%i', `JRank` = '%i', `Phone` = '%i', `Skin` = '%i', `Mute` = '%i', `Jail` = '%i', `Ban` = '%i', `PosX` = '%f', `PosY` = '%f', `PosZ` = '%f', `PosA` = '%f' WHERE `ID` = '%i'", pInfo[playerid][Job], pInfo[playerid][JRank], pInfo[playerid][Phone], skin, pInfo[playerid][Mute], pInfo[playerid][Jail], pInfo[playerid][Ban], pos[0], pos[1], pos[2], pos[3], pInfo[playerid][ID]);
        mysql_query(Database, query);
        mysql_query(Database, query1);
        mysql_query(Database, query2);
        return 1;
}


Relentless Deathmatch

$
0
0
Relentless Deathmatch

The idea is to make Deathmatch as simple as possible. The server started in 2018 but had to shut down due to management issues. The server just re-launched yesterday and won't be going anywhere anytime soon. It's running on 0.3.DL, Most DM servers use the SKY plugin for better sync but R:DM uses a private plugin that's made to make the sync more accurate than ever, Every hit counts. Apart from that the server is monitored by professional staff to ensure no hacking takes place. It also has an anti-cheat which informs the admin. Even when there is no member of the staff team online the reports are sent directly to the staff chat on Discord to ensure the best experience for our players.

We've planned alot for the future, including vice city arenas and such. We have creative arenas that'll get you hooked for hours.

We hope to see you there!

HostName: [0.3.DL] Relentless Deathmatch | Goonsquad
Address: 91.121.237.128:7777
Players: - / 50
Ping: 147
Mode: R: DM 0.1
Language: English

Discord: https://discord.gg/khCqMcq

NEX-AC errors

$
0
0
Hello, i use NEX-AC... and look:
pawno\include\nex-ac.inc(6784) : warning 202: number of arguments does not match definition
pawno\include\nex-ac.inc(6798) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.

Code:

#if defined _inc_y_hooks || defined _INC_y_hooks
        hook OnVehicleDeath(vehicleid, killerid)
#else
        public OnVehicleDeath(vehicleid, killerid)
#endif
{
        #if AC_USE_NPC
        if(IsPlayerConnected(killerid) && !IsPlayerNPC(killerid))
        #else
        if(IsPlayerConnected(killerid))
        #endif
        {
                new ac_gtc = GetTickCount();
                if(ACInfo[killerid][acACAllow][49])
                {
                        if(ac_gtc < ACInfo[killerid][acCall][15] + ac_Mtfc[15][0]) ac_FloodDetect(killerid, 15);
                        else if(ac_gtc < ACInfo[killerid][acCall][27] + ac_Mtfc[27][0]) ac_FloodDetect(killerid, 27);
                        else ACInfo[killerid][acFloodCount][15] = ACInfo[killerid][acFloodCount][27] = 0;
                }
                ACInfo[killerid][acCall][27] = ACInfo[killerid][acCall][15] = ac_gtc;
        }
        new Float:ac_vHealth;
        GetVehicleHealth(vehicleid, ac_vHealth);
        if(ac_vHealth < 250.0) ACVehInfo[vehicleid][acSpawned] = false;
        #if !defined _inc_y_hooks && !defined _INC_y_hooks\
                && defined ac_OnVehicleDeath
6784                return ac_OnVehicleDeath(vehicleid, killerid);
        #else
                return 1;
        #endif
}


#if !defined _inc_y_hooks && !defined _INC_y_hooks
        #if defined _ALS_OnVehicleDeath
                #undef OnVehicleDeath
        #else
                #define _ALS_OnVehicleDeath
        #endif
        #define OnVehicleDeath ac_OnVehicleDeath
        #if defined ac_OnVehicleDeath
6798                forward ac_OnVehicleDeath(vehicleid, killerid);
        #endif
#endif

Login Bug

$
0
0
Well, i got a bug in my server for every random hours after running the server, player can't login. After entering the password. The camera got stuck in the air and doesn't spawn automatically. When pressing the "Spawn" button, Server Closed The Connection.

I think the problem is in the
OnPlayerLogin or OnPlayerSpawn

Any solution?

Vehicle prob

$
0
0
I have a small problem.. after I mod my car ingame on arch wheel and when I park it will reset the paintjob of the car.. how could I fix this?

Rcon

$
0
0
I have a houses on the list and when I unloadfs and load again the houses won't show on the list "Empty list" but the houses are owned by me. To make it actually work, I need to relog to get my houses back.

What could be a problem ?

[Pedido] Alguem teria um sistema de rank's

$
0
0
Ola estou a procura de um sistema de ranking(rank's),

Aquele que mostra quem matou mais, morreu e etc...
porem eu estou procurando um que seja em DB, que verifica a database, independente se estar online ou não...
no entretanto, eu achei um, porem nao funcionou no meu gamemode,

OBS: Meu gamemode é 0 sem base nenhuma.
OBS2: é para um projeto DayZ,

Quem tiver e puder me passar eu agradeço,
eu ja tentei fazer 1 porem o resultado da outro e acaba nao pegando o q eu quero...

Eu também estou procurando mappers so chamar pv...

Kick me my anticheats

$
0
0
I use Nex-AC anti hack for my server.
When I use the /fly or /speed etc command I get kick but I am admin... how to do to use admin commands without receipt kick?
My variabile "PlayerInfo[playerid][pAdmin] == 0
I don't know

bots on the server

$
0
0
Hello. I would like to file a complaint about the violation of the ban on the presence of bots. Jewel Role Play Server (176.32.36.73:7777) has them. The owner of the server registers accounts on his IP and puts them in afk, thus raises online by 40-60 people, deceiving the players

strcmp

$
0
0
Code:

case DIALOG_PHONE:
{
    if(PlayerInfo[playerid][OnBreak] == true)
    {
        if(!response)
        {
            PlayerInfo[playerid][WrongNumber] ++;
        }
        else
        {
        if(!strcmp(inputtext, PlayerInfo[playerid][PhoneNumber]))
        {
            PlayerInfo[playerid][WrongNumber] = 0;
            SendLanguageText(playerid, SERVER_COLOR, "[..........
            SendLanguageText(playerid, SERVER_COLOR, "[..........
            PlayerInfo[playerid][AirportCheckpoint] = true;
            SetPlayerRaceCheckpoint(playerid,1,1478.6263,1794.2507,10.8125, 0.0,0.0,0.0,2);
        }
        else
        {
            if(PlayerInfo[playerid][WrongNumber] <= 2)
            {
                SendLanguageText(playerid, SERVER_COLOR, ".......
                PlayerInfo[playerid][WrongNumber] ++;
            }
            else
            {
                SendLanguageText(playerid, SERVER_COLOR, "......
                PlayerInfo[playerid][WrongNumber] = 0;
                    if(PlayerInfo[playerid][OnBreak] == true)
                {
                    GameLanguageText(playerid, "~r~UTEK NEUSPESNY!", "~r~BREAK UNSUCCSESSFUL!", 3000, 4);
                    PlayerInfo[playerid][OnBreak] = false;
                    SpawnPlayer(playerid);
                }
            }
        }
    }
}
            return 1;
}

I have command, just for sure /mynumber, works perfect for example 111000
But when i use if(!strcmp(inputtext, PlayerInfo[playerid][PhoneNumber])) and input 111000 tu dialog, not works, still call else...
and when use if(strcmp(inputtext, PlayerInfo[playerid][PhoneNumber])) and use random number, calls ok... SetCheckpoint etc...

Any ideas?

[Ajuda] Carro sendo destruido.

$
0
0
Gostaria de saber como faz para que quando eu dar GMX na GM ou desligar e ligar ela depois os carros que eu tenho não sumirem e eu tenha que pegar eles denovo? tem alguma maneira de fazer eles ficarem spawnado no servidor?

[FilterScript] USEFUL SAMP CMDS / FLIP CMD

$
0
0
/FLIP COMMAND

Hello I think this cmd will be useful for you and your server!
I'm using ZCMD!
Below is the code!

Code:

CMD:flip(playerid, params[], help)
{

                if(IsPlayerInAnyVehicle(playerid))
                {


                        new veh;
                        new Float:Angle;
                        veh = GetPlayerVehicleID(playerid);
                        GetVehicleZAngle(veh, Angle);
                        SetVehicleZAngle(veh, Angle);
                        SendClientMessage(playerid, WHITE, "YOU FLIPPED YOU VEHICLE ! " );



                }
                else
                {
                  SendClientMessage(playerid, WHITE, "YOU ARE NOT IN A VEHICLE ! " );
                }
            return 1;
}

Problema de Texturas con el 0.3 DL

$
0
0
buenas todos, les comento lo que me pasa, cuando quiero poner un toys en mi servidor, aparece el modelo pero no las texturas, el objecto queda todo blanco, no se como puedo hacer que aparesca.

y otra cosa, no se como exportar objecto creador por mi de blender, cuando lo exporto en .dff y lo pongo en el servidor me sale error en la descarga, ademas no se como puedo sacar las texturas del objeto de blender que hice.
Viewing all 18226 articles
Browse latest View live


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