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

how can i make this short

$
0
0
how can i make this short??
HTML Code:

        if (reason == 456 || reason==2 || reason==4 || reason==13 || reason==22 || reason==56 || reason==654
        || reason==456|| reason==7657|| reason==456|| reason==9|| reason==9|| reason==456|| reason==683|| reason==456|| reason==456
        || reason==9|| reason==3435|| reason==667|| reason==9|| reason==54645|| reason==356|| reason==454|| reason==54|| reason==35
        || reason==34|| reason==345|| reason==34|| reason==345|| reason==6456|| reason==3546|| reason==45|| reason==356|| reason==956
        || reason==78|| reason==34|| reason==96|| reason==967|| reason==456|| reason==356|| reason==46|| reason==356|| reason==356)
        {


.col creator.

$
0
0
Is there any other .col creators that can handle a good load? SA-MP kdff gui bombs out on me with an error 2, which is too big, so is there another program that can make .cols?

[Pedido] EMULAR LAG SHOT

$
0
0
Tem como emular o lagshot usando objetos invisiveis? E se der, poderia me arrumar uma base?

[Ajuda] DOF2_GetString

$
0
0
Alguém sabe por que o DOF2_GetString não funciona aqui? Estou tentando armazenar a string numa variável e não tá funcionando, não armazena nada

Quando eu tento
PHP Code:

varRaceName DOF2_GetString(str"Corrida"); 

dá o seguinte erro
PHP Code:

error 047: array sizes do not match, or destination array is too small 

Já tentei usar DOF2_GetString(str, "Corrida", varRaceName); compila mas não funciona, já verifiquei o tamanho da variável, não tem nada de errado com ela

[Ajuda] items

$
0
0
olá tenho uma gm de scavenge e queria saber como adcionar itens novos como metais

0.3.DL Items (Rookie)

$
0
0
Hi,

Recently, I decided to try out 3dsmax and work around with SAMP objects. With a bit of help from a friend, I managed to extract some objects from a larger one that contained more items. Thoughts and/or suggestions are welcomed. I'll be doing more of these soon and if anyone interested in these you can PM me. I will release some of my work on this forum too but now's not the time to do it.

Original Object

https://files.prineside.com/gtasa_sa...ue/18246_b.jpg

Extracted Items In Attachement Below

Attached Images
File Type: png wrecked_cars.png (114.9 KB)
File Type: png trailer.png (146.3 KB)

:: xGS X-Gaming Stunting[0.3.7][HOSTED TAB] ::

$
0
0



Server IP: 87.98.244.35:7000 | Forum: www.xgamingstunting.ml

About

• xGS has a very colorful history, In january 2014 server manager Rain created a server called 'StuntzGodZ stunting' (It was a completely different server, but we launched xGS on next day when we ended with StuntzGodz stunting). We are running this server since 2014, as every community we had upside-downs and now we are moving forward for a new challenges. Our server is managed by a very friendly and experienced developers/administrator around the world who do their best to make you feel comfortable during the game. We are here to provide huge fun and fair gameplay for everyone. Enjoy your stay at our server, now let's the fun begins!

Server Stuff

• Amazing Stunt/Drift/Fun/Race maps all around San Andreas world.
• Bonus Car System where you can earn a fast cash.
• Advanced Spawn-Kill Protection for all our players on every spawn point.
• Special set of weapons you can own.
• Advanced House and Private Vehicle ownership with good features.
• Bunch of deathmatches and minigames.
• Race System with bunch of interested races all around San Andreas.
• Advanced Group system.
• Simple and beautiful HUD.
• Special useless command for joke (/useless).
• Duel System (1v1).
• Tonnes of player commands.
• Fishing System (Catch a fish, sell it and earn scores)
• and much more to discover....



Ajuda com o comando /setlevel

$
0
0
Olá, criei um comando de dar level, porém quando uso ele, ele seta um level diferente tipo, eu digito: /setlevel ID 10 o level setado ao invés de ser 10, sai 10845616548, espero que alguém me ajude.

Code:

CMD:setlevel(playerid, params[])
{
    new plid, format:level;
    if(sscanf(params, "uf", plid, level))
    return SendClientMessage(playerid, -1, "Digite: /setlevel [id] [level]");
    if(!IsPlayerConnected(plid))
    return SendClientMessage(playerid, -1, "Jogador não conectado!");
    SetPlayerScore(plid, level);
    SendClientMessage(playerid, -1, "Comando efetuado com sucesso!");
    return 1;
}


[Off] You Tube caiu aqui e aí caiu?

$
0
0
ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤ ㅤㅤ ㅤ

You Tube is off.

Command /spawnbike problem

$
0
0
Hello. I have a problem. If a player use /spawnbike, this command destroy bike from another player.
Ex:
Me: /spawnbike - Spawning a bike
My friend:/spawnbike - My bike has been destroyed, -Spawning a bike.

How i can repair this command to spawn my bike and don't destroy another bike i i use again, destroy only my bike.
Quote:

new vbike[MAX_PLAYERS];
Quote:

CMD: spawnbike(playerid, params[]) {
if(IsPlayerInRangeOfPoint(playerid, 2, 1670.1096, -1697.3649, 15.1642)) {
if(vbike[playerid] == 0) {
vbike[playerid] = AddStaticVehicleEx(509, 1670.1096, -1697.3649, 15.1642, -93.3600, 1, 1, 10, -1);
PutPlayerInVehicle(playerid, vbike[playerid], -1);
SendClientMessage(playerid, COLOR_WHITE, "Ai spawnat un bike!");
vbike[playerid] = 1;
}
else {
DestroyVehicle(vbike[playerid]);
vbike[playerid] = 0;
SendClientMessage(playerid, COLOR_WHITE, "Aveai deja un vehicul {00ff00}spawnat{ffffff}.");
SendClientMessage(playerid, COLOR_WHITE, "Din fericire a fost {00ff00}despawnat{ffffff}.");
SendClientMessage(playerid, COLOR_WHITE, "Foloseste {00ff00}/spawnbike {ffffff}din nou pentru a spawna alt {00ff00}BIKE{ffffff}.");
}
}
return 1;
}
P.S : Sorry for bad english :)

Looking for a scripter

$
0
0
Hello,
I'm looking for a scripter for my new Apocalpyse Server Roleplay (ITA)

Also english scripter I will help him to translate in italian language.

We got Sublime 2.0 GM by Frex.


We pay our scripter

Help actor dynamic

$
0
0
Hi, why do not my actor ever change his mind and start firing his HP?


PHP Code:

hook OnPlayerUpdate(playerid
{
    new 
actorid GetPlayerTargetDynamicActor(playerid);
    if(
actorid == INVALID_ACTOR_ID) return 1;
    if(
IsValidDynamicActor(STREAMER_TAG_ACTOR actorid) && GetPlayerWeapon(playerid) != 0)
    if(
actorid == halloCloun[0])
    {
             
TDtext(playerid"Pataikei i klouna");    
    }
    if(
actorid == halloCloun[1])
    {
             
TDtext(playerid"Pataikei i klouna");    
    }
    if(
actorid == halloCloun[2])
    {
             
TDtext(playerid"Pataikei i klouna");    
    }    

    new 
Float:halloClounHP[3];
    
GetDynamicActorHealth(STREAMER_TAG_ACTOR halloCloun[0], halloClounHP[0]); 
    
GetDynamicActorHealth(STREAMER_TAG_ACTOR halloCloun[1], halloClounHP[1]);
    
GetDynamicActorHealth(STREAMER_TAG_ACTOR halloCloun[2], halloClounHP[2]);

    if(
halloClounHP[0] < 0)
    {
        
DestroyDynamicActor(STREAMER_TAG_ACTOR halloCloun[0]);
    }

    if(
halloClounHP[1] < 0)
    {
        
DestroyDynamicActor(STREAMER_TAG_ACTOR halloCloun[1]);
    }

    if(
halloClounHP[2] < 0)
    {
        
DestroyDynamicActor(STREAMER_TAG_ACTOR halloCloun[2]);
    }    


    return 
1;


[Include] pawn-array-view: view and mutate multi-dimensional pawn arrays easily

$
0
0
pawn-array-view

pawn-array-view is an efficient C++ library that abstracts the complex memory layout of multi-dimensional pawn arrays and provides an intuitive C/++ array-like interface for dealing with them. The name suggests that the library only allows read-only access to the arrays but that's not true; you can access and modify the arrays. Any decent C++ compiler will be able to optimize off all access and modifications to the arrays into simple pointer arithmetic.

Links

[GameMode] eXtreme Stunt Server - XSS COPY

$
0
0
#1: Gang System : New Capture Sys - : Gang Settings: https://imgur.com/a/QMHzfdO

#2: VIP Sistem: https://imgur.com/a/z5UcX76 |

#3: Admin Sistem: https://imgur.com/a/BMXt4zM |

#4: /Boost: https://imgur.com/a/487gu6w

#5: Business & House with renew Sistem: https://imgur.com/a/5jsh252

#6: /Shopkey & /AddShopkey: https://imgur.com/a/6vr0LEs

#7: /Hold Sistem: https://imgur.com/a/kzrP8d6

#8: /Stats & Stats Description: https://imgur.com/a/8nb7IOl

#9: /Top: https://imgur.com/a/zrGYs8Q

#10: /Targets Sistem: https://imgur.com/a/Pud09Bc

#11: Personal Cars Sistem: https://imgur.com/a/RmK8zUK | + All Cars will load after OnGameModeInit.

#12: Others: https://imgur.com/a/Xytl921

PS: When you log in with RCON, it will give you the rank you own from the database, from "RCONType"

If you have RCONType 1 , the server will put your rank to "RCON"

if you have RCONType 2 , the server will put your rank to "Support"

if you have RCONType 3 , the server will put your rank to "Manager"

if you have RCONType 0, the server will been kicked you after login with rcon "/rcon login"

+ this server have website in -> "scripfiles" -> "XSS - Website"

Link: http://www.mediafire.com/file/7c08xl..._-_GM.rar/file

Virustotal: https://www.virustotal.com/ro/file/f...is/1539632078/

Ultimate Creator ||| help

$
0
0
Hello Guys
actually i wanna ask that i installed Ultimate creator (samp) when i start it. It shows that streamer did not load . I installed new streamer files also but still that problem
Please give me solution

Help Player Pos And Camera Pos

samp mapping with custom texture

$
0
0
I want to texture a wall with my custom dff and txd

What should I add at artconfig

also what I should at mapping part?

thanks


I added

PHP Code:

AddSimpleModel(-13593, -1000"copcarla.dff""copcarla.txd"); 

3593 = la_fuckcar

I want to add custom vehicle as la_fuckar.

[FilterScript] Dynamic Actors System [MySQL R41-4]

$
0
0
Dynamic Actors System Creation [MySQL]

The server i'm developing will have at least 50 actors, and creating one per one would be a pain in the ass.

To avoid creating them manually, i started searching how to create them dynamically but found only old threads with inefficient saving methods (dini and similar), then i said, if the mountain won't come to Muhammad, then Muhammad must go to the mountain.

So i decided to create this, a dynamic actors system where you can create how many actors as you wish. You don't have to worry about anything, script will do all the work.

Includes/plugins required:


MySQL R41-4: https://github.com/pBlueG/SA-MP-MySQL/releases
Sscanf: https://github.com/maddinat0r/sscanf/releases
Streamer: https://github.com/samp-incognito/sa...lugin/releases
I-ZCMD: https://github.com/YashasSamaga/I-ZC...ster/izcmd.inc

Installation

Download both .amx and .pwn files provided at the end of this topic.
Place .amx (and even .pwn file if you wish), in filterscripts folder.

Now open server.cfg and add dynamic_actors near the filterscripts line.

That's all, run the server and enjoy!

Commands

The system comes with 5 different commands that allows you to manage your created actors.

/actorhelp: Returns a list of all available commands.

/createactor [skin ID]: Creates an actor at your position with the selected skin ID. (From 0 to 311).

/removeactor [actor ID]: Removes an actor based on their ID.

/removeallactors: Removes ALL actors created, deleting them permanently from the database too.

/locatenearactors: Allows you to locate the closest actor in a range defined with MAX_ACTORS_RANGE. (Default is 50 meters, you can change it in the script - Look for #define MAX_ACTORS_RANGE 50.0)

Screens

Now some screens.

Creating actors:

https://image.ibb.co/fCQ8i0/sa-mp-024.jpg

Using /locatenearactors

https://image.ibb.co/nqZ130/locate-nearest-actor.jpg

Removing all actors with /removeallactors

https://image.ibb.co/mVj130/remove-all-actors.jpg

Bugs

Tested for like 1.5 hours and no bugs have been found. If you find any, please report them in this topic.

Download

You need to create "actors" table, here is the .SQL file:

https://pastebin.com/3ma89iDF

Or if you're lazy, run this query:

Code:

CREATE TABLE IF NOT EXISTS `actors`
(
  `dynamicActorID` int(3) NOT NULL AUTO_INCREMENT,
  `dynamicActorX` float NOT NULL,
  `dynamicActorY` float NOT NULL,
  `dynamicActorZ` float NOT NULL,
  `dynamicActorA` float NOT NULL,
  `dynamicActorVW` int(3) NOT NULL,
  `dynamicActorSkin` int(3) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

Pastebin: dynamic_actors.pwn https://pastebin.com/t1fvrjxS

I don't have GitHub, i'll probably open an account and put .amx file there, until then, if you want the .amx you can download it here:

https://www70.zippyshare.com/v/1BbQNN01/file.html

Last but not least...

If you have any comment or tip on how to optimize this system, feel free to post it, thank you!

Attached Images
File Type: jpg creating_actors.jpg (388.4 KB)
File Type: jpg locate_nearest_actor.jpg (186.9 KB)
File Type: jpg remove_all_actors.jpg (220.3 KB)

Problem with compilation

$
0
0
I can't compile my gamemode..
So it was written on files
And when i turned on "build", it works with errors (of course)
HTML Code:

//#include "../gamemodes/Build.pwn"
Otherwise it didnt compile at all (not responding)

It can't be brackets.
Who know in that way i should to go to solve prolem.
Viewing all 18226 articles
Browse latest View live


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