Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,509
» Latest member: crazyosman365
» Forum threads: 2,233
» Forum posts: 12,033

Full Statistics

Online Users
There are currently 486 online users.
» 1 Member(s) | 482 Guest(s)
Bing, Yandex, Google, minorusora

Latest Threads
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 41
White Screen
Forum: Support
Last Post: Phat202146_real
2024-11-21, 02:50 PM
» Replies: 0
» Views: 39
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 60
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 466
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 56
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 74
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 64
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 468
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,504
SA:MP forum offline
Forum: Portuguese/Portugu?s
Last Post: weslley_script
2024-11-09, 05:27 PM
» Replies: 7
» Views: 9,931

 
  Unknown game type
Posted by: mike.torrenoze - 2023-09-01, 10:14 AM - Forum: Support - Replies (1)

Hi
I Recently changed my gamemode and it's working normal
But the game mode type is showing unknwon in my host
Please help


Lightbulb Roleplay Base
Posted by: MrHind - 2023-08-29, 09:37 PM - Forum: Gamemodes - Replies (3)

I developed this gamemode with the sole intention of sharing it with people who want to start a project in SA-MP, as well as learn modular programming. The gamemode contains basic role-playing systems, it is made for Junior developers who want to learn and create their own server.

.- About systems:
- [•] Registration and Login to the Server.
- [•] System of death and respawn in the Hospital.
- [•] Role Certification.
- [•] Basic role commands. `(me, do, yell, blit, whisper, try)`
- [•] Accent Command. `(I decide not to save from Mysql)`
- [•] Command heal health.
- [•] System 'Role avoidance'. `(After you die and log out, the server will send you a message saying you bypassed a role, clearly they should develop the system on their own)`
- [•] Life reduction in case of death. `(After having an accident, your life will be reduced until you die again and appear in the hospital)`
- [•] Message log through Server > Discord.

Github - Option 1 or Github - Option 2


  Don't Destroy the weapon when ammo is 0
Posted by: naufalikbal00783 - 2023-08-29, 04:44 AM - Forum: Pawn Scripting - Replies (1)

Its possible to make that?.. when somebody dont have more ammo, the weapon dont dissapear?


  [1994] SA Advanced Role-Play (First Person) | Oldest and most realistic SAMP RP
Posted by: rt-2 - 2023-08-26, 01:43 PM - Forum: Advertisements - No Replies

[1994] SA Advanced Role-Play (First Person) | Oldest and most realistic SAMP RP


[Image: header_trans.png]




San Andreas Advanced Role-Play is a game mode dedicated to realism and real life physical limits.
The server is played in First Person only (server-side script).

* If you prefer using the First Person Mod you will have a slightly better experience, but it is not needed.



Goal
This is a response to the repetitive RP community of SAMP.
A long time ago I wanted to make a server that didn't need: staffs/admins, any type of forum, "/me attempts to walk forward" interactions, but also something that would capture realistically the feeling of the original setting of the game.
It aims to be a rework of the original SA game with minimal modifications.
I also wanted to honor Rockstar North's greatly researched work and continue working in their intended direction.
I am not going to describe all features and jobs here because most of them are discovered mid to late game.




Origin
The script is made to allow player to do their own things.
Because the server's story is going on since 2008, it's one of the richest out there.
The server was private for a while, but was set public around 2015-16.




How To


Transportation / Vehicles:
There are 4 main ways to get transportation:
  • Find an 'abandoned' vehicle from any train stations or airports;
  • Use our free public transportation network (it includes: trains, buses and taxis);
  • Buy a vehicle from a dealership (same locations as the original game);
  • Buy a vehicle from another player;

[Image: transport.jpg]


Money / Jobs:
Naturally, in true LA fashion, you can work for as many jobs/factions per paycheck as you want.
There are 5 main ways to make money:
  • Factions that hires you automatically (through the Employment Center);
  • Factions that you need to apply to (example: LSPD or any other emergency/gov agency);
  • RPed jobs / working for other players (example: Trucker, Mafia, Factories);
  • Gangs (doesn't require an application);
  • Zombies (they drop money);
This is a screenshot of the job list just at the Employment Center:

[Image: money.jpg]


Justice / Jails:
This is some of the things that differ from other servers:
  • Any arrest must be documented, the police officer must write a deposition for every person/case;
  • No teleportation from end to finish. Police forces need to do all the appropriate transport from the police station to the jail. DOC officers(prison guard) must transport you to your trial, then back to prison;
  • There is no automatic timer, there is no way to see your time left and you are not assigned a time before going on trial;
  • When your time is over, you are not teleported out of prison, you must be released by a prison guard;
In short, you really don't want to be arrested. You will not be able to just murder someone, go to prison, and get out the same day. This server takes prison seriously and realistically.
On the other hand, you will not be put in prison for no reasons. Police officers DO NOT have any bonuses for arrests and must do paperwork every time so there is no incentive to arrest someone who isn't a real threat.
There is also a real possibility of escape any time (especially during transport). The police are not overpowered, for example: they have no taser and have to use number and strategy to arrest people.


[Image: justice.jpg]


Life / Mechanics:
This is some of the mechanics that may differ from other servers:
  • If you die, everything you have on your player will drop on the ground;
  • Other than doors, what you see on the mini-map represents what you hear;
  • When you are not connected, your player is still shown in the game and can be frisked, killed, etc;
  • To heal, you must eat food (If you eat too fast, you will vomit and loose health);

[Image: life.jpg]




Behavior / Rules
The script is a unique work with its own rules. Forget everything you know about 'SAMP roleplays'.
This is not our usual 'turn by turn' RP we are used to, this is an 'action' RP.
There is no '/me attemps to ...' type of deal. The melee aspect is taken care of with melee commands and actions.
You have to play the game and you can't report because someone did not 'RP' properly.
The staff WILL NOT interfere with the game: Got DMed? IC matter! Police is corrupted? IC matter! There is NO OOC matter, no OOC rules and no cancer admin staff (Yes there is an anti-cheat).




Ambiance / Community
There is no forum to fall back on, the game must be played IG entirely.
People usually send letters for communication (Writing on papers bought at shops).
Think of it as Rust or Dayz where everything is legal and your worst enemies are other players.




Environment / Technical
This is a professionally owned SAMP server.
It's hosted professionally on a datacenter Windows Machine 24/7 and on hosted tab.
I think this is the oldest SAMP server out there!
Here is the link: www.sa-arp.net
To connect: sa-arp.net:7777





Conclusion
Do not expect an easy server, this server is very difficult and tries to be very realistic (too much at times :P).

But it's not hard to start at all!
Our true realistic economy is new and so house and stuff are VERY cheap at the moment obviously.

Have a nice play!







[Image: header_trans.png]


  Weed Drug Script
Posted by: Galax - 2023-08-25, 04:38 PM - Forum: Filterscripts - Replies (2)

Weed Drug Script
A weed drug script for roleplay server or roleplay gamemode. Previously it has many performance issue but i tried to fix all of them. You can use it with your roleplay gamemode, all you need to change player inventory items variables as per your roleplay gm.

To improve further performance in /weed cmd, you can make multiple iterators for each weed field and use them according to which weed field player is at. No changes need in timer because timer can loop over every single plant if you set timer than more 5 seconds.
How to build?
    - Change `g_PlayerInventory[playerid]` to your inventory variables or you can use (`getInvitem` or 'setInvitem') functions
    - Compile and Run!
Used Library
sscanf - [v2.13.8]
streamer -  [v2.9.6]
YSI Includes - [latest] (y_timers, y_commands, y_hooks, y_iterators)
Source Code:- https://github.com/galaxone/SAMP-RP-Weed-Drug-System
Screen Shot
[Image: zGgM5av.png]
[Image: kJj0TmC.png]
[Image: w9pnu7W.png]


  Many questions regarding open-mp
Posted by: JasonDeRue - 2023-08-25, 12:51 PM - Forum: Questions and Suggestions - Replies (11)

Hello, I have so many questions regarding open-mp and trust me, I've read EVERY readme file (newbie expert and intermediate) but I couldn't find the answer I need.

1) I'm currently running a Sa-Mp server, I've downloaded the openmp server files but I don't know how to proceed, I mean:

I've copied everything from my samp folder to openmp, removing samp-server.exe and everything related to it. Moved includes from pawno to qawno.

When I open qawno and try to compile, it gives me an error regarding an include version (It requires version X but I do have version X!).

So I guess it's something related the include path (and for this case, the whole server path), which I don't understand HOW I can set it, I've tried to set the pawncc in the compiler settings in Qawno, but I'm having problems to set server folder in "server settings" in Qawno. A help (and maybe a documentation for newbies regarding this) will be really appreciated.

2) Regarding server.cfg file, is it still necessary or I need to edit the config.json in the root folder? If so, how I can list the filterscripts/plugins to use?

3) My players will know about the difference between Samp and OpenMP? I mean, when they connect to my server.

4) Is a client planned to be released?

5) Hosted tab is still needed? I mean what's the ratio between SaMp and OpenMP with/without hosted tab?

6) It's possible to use Sublime Text instead of qawno? if so, how?

That's all for now, thank you.


  Seamless Interior Integration
Posted by: Xyranaut - 2023-08-19, 06:29 AM - Forum: Questions and Suggestions - No Replies

I suggest blending indoor spaces seamlessly into the big world of GTA San Andreas, drawing inspiration from a previous mod called Open San Andreas (https://youtu.be/Xy2yD5eHy40). This new idea could be really helpful for the open-source community, helping us reach a level similar to what we see in GTA IV and GTA V. Those games manage to mix the outside and inside of buildings really well.

Something similar was tried in SA:MP. They changed the texture of a building near L.S Beach Side when you use SA:MP, so you can go inside.

To start, we could work on CJ's safe houses. After that, we could move to places he often visits like Grove Street and the Police Stations. Later on, we could expand to cover other important areas too.


  MySQL query doesn't trigger my function
Posted by: dock - 2023-08-16, 05:43 PM - Forum: Pawn Scripting - Replies (1)

Hello,

I've been trying to make a command that's gonna read my logs table on my MySQL database...

Here is the code

PHP Code:
if (!strcmp(by"Account"true)) {
format(conditionssizeof(conditions), "WHERE `Account` ");
}
else if (!
strcmp(by"ToAccount"true)) {
format(conditionssizeof(conditions), "WHERE `ToAccount` ");
}
else if (!
strcmp(by"Text"true)) {
format(conditionssizeof(conditions), "WHERE `Log` ");
}

if (
contains == 1) {
format(conditionssizeof(conditions), "%sLIKE '%"conditions);
format(conditionssizeof(conditions), "%s%s"conditionssearch);
format(conditionssizeof(conditions), "%s%%'"conditions);
}
else {
format(conditionssizeof(conditions), "%s= '%s' "conditionssearch);
}

new 
query[1024];
format(conditionssizeof(conditions), "%sAND lt.LogType = '%s' ORDER BY Timestamp %s LIMIT %d"conditionslogtypeorderresultNo);
mysql_format(g_SQLquerysizeof(query), "SELECT * FROM `logs` AS l JOIN `logtypes` AS lt ON l.LogType = lt.LogTypeId %e"conditions);
mysql_tquery(g_SQLquery"LogSearchResults""d"playerid); 


The function LogSearchResults doesn't even get triggered. I printed out the query and got something that returns results when I run it manually..

Any ideas? :(

This is the print out i got:

PHP Code:
SELECT FROM `logs` AS l JOIN `logtypes` AS lt ON l.LogType lt.LogTypeId WHERE `Account` = 'dock' AND lt.LogType 'localchat' ORDER BY Timestamp desc LIMIT 50 


  Damage Animations
Posted by: MmDCatty - 2023-08-14, 01:46 AM - Forum: Pawn Scripting - Replies (1)

Hello everyone, how can I prevent the player to play game-default animations when they get shot by a weapon?


  [System] Fire Hose System
Posted by: caominhthangtran - 2023-08-13, 07:51 PM - Forum: Videos and Screenshots - No Replies

[Video: https://www.youtube.com/watch?v=P6QvFub0Eq8]