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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,723
» Latest member: JASoon
» Forum threads: 2,361
» Forum posts: 12,311

Full Statistics

Online Users
There are currently 317 online users.
» 0 Member(s) | 314 Guest(s)
Bing, Google, Baidu

Latest Threads
GTA SA-MP Scripting: Issu...
Forum: General Discussions
Last Post: JASoon
1 hour ago
» Replies: 1
» Views: 128
Can small insights really...
Forum: Questions and Suggestions
Last Post: nertykolas140
Yesterday, 03:13 PM
» Replies: 1
» Views: 22
Vice WRLD Freeroam/RP
Forum: Advertisements
Last Post: pdjumailiev
2025-11-24, 11:30 AM
» Replies: 0
» Views: 43
Wanting to Start a RP Ser...
Forum: Chat
Last Post: Wein
2025-11-24, 09:07 AM
» Replies: 1
» Views: 177
Help me for creating a fr...
Forum: General Discussions
Last Post: [Rs]VeNoM
2025-11-23, 07:33 AM
» Replies: 0
» Views: 23
The server didn't respond...
Forum: Support
Last Post: richboY
2025-11-22, 10:51 AM
» Replies: 0
» Views: 35
error when joining server
Forum: Support
Last Post: sanved2008
2025-11-22, 09:02 AM
» Replies: 0
» Views: 37
Client issue with object
Forum: Support
Last Post: TheDoctor
2025-11-15, 08:00 PM
» Replies: 0
» Views: 98
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-11-15, 12:06 AM
» Replies: 0
» Views: 121
[Include] OpenGate (Abrir...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-11-13, 06:49 PM
» Replies: 0
» Views: 93

 
Exclamation ERROR SAMPCTL
Posted by: DevianTyr - 2023-05-17, 05:14 AM - Forum: Pawn Scripting - No Replies

DELETED


  multi player games in russia
Posted by: alitik20 - 2023-05-09, 08:10 PM - Forum: Russian/??????? - No Replies

There are many multiplayer games that are popular in Russia. Here are a few examples:

  1. Dota 2 - This multiplayer online battle arena (MOBA) game has a large player base in Russia and is known for its competitive gameplay.
  2. Counter-Strike: Global Offensive - This first-person shooter game is another popular choice for multiplayer gaming in Russia, with many local tournaments and events held throughout the country.
  3. World of Tanks - This massively multiplayer online game (MMO) features tank warfare and is known for its large player base in Russia and other parts of Europe.
  4. War Thunder - Another popular MMO featuring vehicular combat, War Thunder has a significant player base in Russia and is known for its realistic simulation of World War II battles.
  5. PlayerUnknown's Battlegrounds (PUBG) - This battle royale game has gained a large following in Russia since its release, with many players forming teams and competing in local and international tournaments.


  Remove weapon with no ammo in db
Posted by: JasonDeRue - 2023-05-05, 08:18 AM - Forum: Pawn Scripting - No Replies

Fixed.


  Check if two weapons are in same slot
Posted by: JasonDeRue - 2023-05-05, 08:16 AM - Forum: Pawn Scripting - Replies (3)

Hello, I'm making a weapon/save load system to MySQL and it seems working but I have a problem.

I need something to check if two weapons are in the same slot because now the save system inserts 2 rows in the table.

Example:

I buy Spas12, weapon gets inserted in the table, but if I buy sawn off, the weapon gets inserted in the table so I have 2 weapons of the same slot saved.

I need to avoid this.

This is the save code:

Code:
public GivePlayerWeaponEx(playerid, weaponid, ammo)
{
    new wepQuery[300];

    if(IsValidWeaponID(weaponid))
    {
        mysql_format(g_SQL, wepQuery, sizeof(wepQuery), "INSERT INTO `weapons` (`userid`, `weaponid`, `ammo`) VALUES (%d, %d, %d) ON DUPLICATE KEY UPDATE ammo = %d",
        ReturnAccDbID(playerid), weaponid, ammo, GetPlayerAmmo(playerid) + ammo);
           
        mysql_pquery(g_SQL, wepQuery);
    }
    return GivePlayerWeapon(playerid, weaponid, ammo);
}


  Run time error 4: "Array index out of bounds"
Posted by: mihaiandrey2008 - 2023-04-12, 03:37 AM - Forum: Support - No Replies

hello, I've been a developer on a new gamemode of mine for a few days and I'm getting this error

[debug] Run time error 4: "Array index out of bounds"
[debug] AMX backtrace:
[debug] #0 00346a94 in OnDialogResponse (playerid=0, dialogid=177, response=1, listitem=0, inputtext[]=@0167cc44 "Owned vehicles", ... <1073741818 arguments>) at D:\SAMP\endless\gamemodes\end.pwn:35756
[debug] #1 0000d038 in public OnDialogResponse (... <5 arguments>) at D:\SAMP\endless\pawno\include\YSI_Coding\..\YSI_Internal\y_cgen.inc:30


https://pastebin.com/XiPnuvxx - line 29


  GTA SA MP || Script Show Case #2 || TrashMan Job
Posted by: iamboss486 - 2023-04-09, 08:49 PM - Forum: Videos and Screenshots - No Replies

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


  B-Discord ( ALL VERSIONS )
Posted by: iamboss486 - 2023-04-09, 08:08 PM - Forum: Filterscripts - Replies (2)

                                                       B-Discord
ABOUT

B-Discord is a  filter script that seamlessly connects games to Discord and serves as a logging tool. With its advanced admin commands, B-Discord enables server owners to control the system with ease. This versatile filterscript is an invaluable addition to your samp gaming community, providing real-time updates and alerts to players and administrators alike. Whether you're managing a large serveror simply looking to enhance your gaming experience, B-Discord is the ideal solution for staying connected and in control.


Version ( 1.0 )
1 - In-game chat feature. 2 - Discord commands like - /players , /serverinfo , /ip , /commands. 3 - Command log system (for this you have to shift the code to your main script). 4 - Server start message. 5 - The player connect/disconnect messages. 6 - Fixed discord command include.
Commands
announce
spec
aclear
aslap
ban
kick
unfreeze
freeze
acmds
-New admin channel
-Added pm commands now you can view in-game private messages in your admin discord channel
-Admin command can only be used in the admin channel
-Now you can set your discord bot status (Online, idle, do not disturb)
-Now you can set your discord bot custom status from the line - 84
-All messages converted into bold.
Download - > Github

Version ( 1.1 )
(/)Several Changes in B-Discord system
(/) Command "acmds" is modified
(/) All the admin commands are modified
(/) !players command is also modified

(+) Security System
(+) A new security channel introduced
(+) If any players try to login through rcon then the message containing the players IP, name, id & password which he used will be sent
in the discord security channel
(+) Players private information like their IP, His ping, His health, His name, His id will be sent to the security channel when connected
and it will be re-sended when the player disconnects.
(+) New commands
(+) !ban command --> this command will rcon ban any player
(+) !credits command
(+) All commands re-scripted
(-) Removed GeoIP include as it was not working + many players wore having problems getting it

Download - > Github

Version ( 1.2 )

In this release, we mostly focused on bug fixing as there were many.
Prefixes
(/) = Changes
(*) = New added
(+) = added
(-) = removed

(/) Now you have to put your channel ids after macros.
(+) New Admin Commands
-!time --> Briefs you with the ingame time
-!giveallcash --> This command can be used to give all the players a certain amount of money
-!giveallscore --> This command can be used to give all the players a cetain amount of score
-!healall --> Gives all the players 100%health
-!armourall --> Gives all the players 100%armour
-!explode --> This command will create a explosion near the targeted player
(-) Security messages which indicate players ping , IP , client versions have been removed as it gives the wrong information while disconnection.
() Kick command fixed
() Announce command fixed
(+) Added emojis(just for fun)
(-) Pm command removed
(/) spec command changed to getstatus
(/) CREDITS command MODIFIED
(/) RESTART command CMD
(*) aslap command fixed
(/) say command
(/) Player command
(+) Bot Activity system is now modified
-Bot activity will show how many players are online on your server
-It depends upon cases like if 0 players are online then the statement will be different and so on.
-Bot Presence Status changes according to player count
- if player count is 0 bot presence will be online
- if the player count is 1 bot presence will be idle
- if player count is more than 1 bot presence will do not disturb
- You can change this. Here are all available statuses you can use
-ONLINE
-IDLE
-DO_NOT_DISTURB
-INVISIBLE
-OFFLINE

Download - > Github

Version ( 1.3 ) *LATEST

We are excited to announce some recent updates and improvements to our script!
We have added a new feature that displays info , cmds , acmds commands & security message in Discord embeds, making it easier and more intuitive for users to access important information.
For improved logging, we have replaced the "bosslogs" function with two new functions, "DiscordSendLog" and "DiscordSendLogTarget".
We have also optimized the script for improved performance, ensuring that it runs smoothly and efficiently.
We believe that these updates will greatly enhance the user experience and provide a more secure and reliable system.
Thank you for your continued support and feedback, which helps us to improve our script and deliver the best possible experience for our users.

Special Thanks to 
Protector

Download - > Github (RECOMMENDED)


  Removed ..................
Posted by: Baloch - 2023-03-30, 03:15 PM - Forum: Gamemodes - Replies (5)

Removed...................by file owner


  Advanced Gangzones (a_zone) updated.
Posted by: pushline - 2023-03-26, 01:50 AM - Forum: Libraries - Replies (1)

I had errors in my DM GM with getting buggy with 3 numbers. So I took the main project (with the last update in 2016) and created a function that creates the 3rd number.
The function that does this by default the creator did it in an ugly/difficult way, so I didn't bother to fix it, because it uses mathematics to create the numbers.


If you know how to fix or even create a more optimized function, fork the project and create a pull request.

Github link:
https://github.com/pushline/Advanced-Gang-Zones


  Почему нет поддержки русского языка?
Posted by: timurvendin - 2023-03-20, 08:34 PM - Forum: Russian/??????? - Replies (10)

Почему нет поддержки русского языка?
Это какой-то рофл или что?
Стандартный павно с русским же работал.