Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 6,511
» Latest member: snaptrap
» Forum threads: 2,233
» Forum posts: 12,034
Full Statistics
|
Online Users |
There are currently 470 online users. » 0 Member(s) | 468 Guest(s) Bing, Google
|
Latest Threads |
I humor myself
Forum: Programming
Last Post: nami16504
5 hours ago
» Replies: 5
» Views: 8,042
|
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 42
|
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: 468
|
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: 75
|
Run time error 19: "File ...
Forum: Pawn Scripting
Last Post: Rexey
2024-11-14, 03:50 AM
» Replies: 0
» Views: 65
|
How to Compile Your Gamem...
Forum: Tutorials
Last Post: thelante
2024-11-13, 08:50 AM
» Replies: 3
» Views: 473
|
Modeller wanted
Forum: Development Updates
Last Post: acc.gangbeni
2024-11-11, 05:10 PM
» Replies: 9
» Views: 16,506
|
|
|
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:
- Dota 2 - This multiplayer online battle arena (MOBA) game has a large player base in Russia and is known for its competitive gameplay.
- 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.
- 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.
- 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.
- 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.
|
|
|
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
|
|
|
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)
|
|
|
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
|
|
|
|