| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 284 online users. » 0 Member(s) | 281 Guest(s) Bing, Baidu, Google
|
| Latest Threads |
I recommend Xiaomi Rednot...
Forum: Tech
Last Post: NoxxeR
1 hour ago
» Replies: 0
» Views: 5
|
🌆 Final City RPG – Englis...
Forum: Advertisements
Last Post: Beanny
Yesterday, 02:46 PM
» Replies: 0
» Views: 28
|
OLD GAMEMODE 0.3DL
Forum: Gamemodes
Last Post: su109551
2026-01-01, 06:59 PM
» Replies: 0
» Views: 37
|
Layanan cs Floa
Forum: General Discussions
Last Post: bratva
2025-12-31, 01:10 PM
» Replies: 5
» Views: 70
|
[ZA] ZOMBIE APOCALYPSE. ...
Forum: Advertisements
Last Post: AlCapone
2025-12-30, 12:02 PM
» Replies: 0
» Views: 50
|
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-12-30, 08:46 AM
» Replies: 2
» Views: 274
|
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-29, 09:47 PM
» Replies: 8
» Views: 577
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: NoxxeR
2025-12-29, 08:30 PM
» Replies: 11
» Views: 824
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-29, 12:49 PM
» Replies: 8
» Views: 943
|
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: moayedboukhachem179
2025-12-28, 02:11 PM
» Replies: 1
» Views: 152
|
|
|
[Help] I need bit help |
|
Posted by: angelopereira.vzla - 2023-03-01, 12:11 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hello, I don't know if you can help me with this, it is the following:
When I create a Dealership with the /adddealership command, a few seconds pass and the server crashes.
This is the command:
Code: CMD:adddealership(playerid, params[])
{
if(IsAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "You are not admin!");
if(!IsPlayerSpawned(playerid)) return SendClientMessage(playerid, COLOR_RED, "You can't use this command now!");
for(new i=1; i < MAX_DEALERSHIPS; i++)
{
if(!DealershipCreated[i])
{
new msg[128];
DealershipCreated[i] = 1;
GetPlayerPos(playerid, DealershipPos[i][0], DealershipPos[i][1], DealershipPos[i][2]);
UpdateDealership(i, 0);
SaveDealership(i);
format(msg, sizeof(msg), "Added dealership id %d", i);
SendClientMessage(playerid, COLOR_WHITE, msg);
return 1;
}
}
SendClientMessage(playerid, COLOR_RED, "Can't add any more dealerships!");
return 1;
}
|
|
|
|
| Adminsystem |
|
Posted by: T4125Gamer - 2023-02-25, 03:00 PM - Forum: Filterscripts
- No Replies
|
 |
After a long time, I felt like doing PAWN scripting again and really wanted to develop something again. But since I thought that a complete game mode is a bit too much, I decided to use filter scripts with different systems. My first among them is this admin system, which is bilingual. I tried to keep the system as dynamic as possible. I'll explain what that means below. Let's start with the basic settings.
1. Required Plugins
The sscanf plugin is required. This can be downloaded here.
2. Folders and files
In order for the filter script to run properly, some folders and files are necessary in the script files. This structure is also included in the ZIP file. The required files are created by the script if they do not exist. In this way, the original state can be restored if necessary.
![[Image: 01%20Ordner%20Struktur.png]](https://dl.t4125gamer.de/BILDER/tg_adminsystem/01%20Ordner%20Struktur.png)
/scriptfiles/adminsystem/playerAdmin.ini - This is where it is saved which player has which admin level
/scriptfiles/adminsystem/rangNames.ini - This is where the rank names are stored
/scriptfiles/adminsystem/settings.ini - The releases and general settings are saved here
/scriptfiles/adminsystem/warnings.ini - This is where player warnings are saved
/scriptfiles/adminsystem/bans - This is where player bans are stored
/scriptfiles/adminsystem/logs - Daily updated logs are saved here. The format is adminLog_DATE.txt
/scriptfiles/adminsystem/support -The tickets created are saved here on a daily basis. The format is ticketlog_DATE.txt
3. Settings
As soon as the required folders have been created and the filter script has been loaded, you can start making the general settings. These can be viewed in-game using the /settings command. This command can only be used if you are logged in as RCON Admin. This is to prevent misuse of the settings.
![[Image: 02%20Settings%20Menü%20EN.png]](https://dl.t4125gamer.de/BILDER/tg_adminsystem/en/02%20Settings%20Menü%20EN.png)
1. Become an admin
If this menu item is selected, the current maximum admin level is assigned to the player
2. Edit admin ranks
The rank names of the individual admin ranks can be edited under this menu item.
![[Image: 03%20Adminränge%20bearbeiten%20EN.png]](https://dl.t4125gamer.de/BILDER/tg_adminsystem/en/03%20Adminränge%20bearbeiten%20EN.png)
3. Edit max. admin ranks
The maximum admin level can be adjusted here. There is no upper limit here. All new admin ranks are automatically set to PLEASE CHANGE RANK NAME!.
![[Image: 04%20Adminlevel%20bearbeiten%20EN.png]](https://dl.t4125gamer.de/BILDER/tg_adminsystem/en/04%20Adminlevel%20bearbeiten%20EN.png)
4. Edit access level
This menu item can be used to specify which command is released for which rank. In this way, permissions can be changed while the server is running.
![[Image: 05%20Zugriffsrechte%20EN.png]](https://dl.t4125gamer.de/BILDER/tg_adminsystem/en/05%20Zugriffsrechte%20EN.png)
5. General Settings
The basic settings for the admin system are made here.
MAX WARNINGS = Indicates the maximum number of warnings a player can have before being automatically kicked by the system.
STACK WARNINGS = Should the warnings be stacked? Here you can specify whether this should happen. If the warnings are not stacked, the player will be kicked from the server at, for example, the 4th warning. If stacking is activated, the player will only be kicked from the server after the 6th warning. (Default settings at MAX_WARNINGS)
LOSE WARNING TIMER = Indicates the time in which a warning is cleared.
LANGUAGE = This sets the language of the admin system. Currently there is DE (German) and EN (English)
SUPVEH MODEL = The model of the support vehicle, which can be created with /supveh, can be set here
![[Image: 06%20Allgemeine%20Einstellungen%20EN.png]](https://dl.t4125gamer.de/BILDER/tg_adminsystem/en/06%20Allgemeine%20Einstellungen%20EN.png)
4. Overview of the commands
Commands that normal users can use
/admins
Returns an overview of currently connected team members
/supchat [text]
Creates a support ticket
/endchat
Closes a support ticket
Commands for Administrators
/kick [playerid][reason]
Kicks a player from the server
/ban [playerid][reason]
Permanently bans a player from the server
/timeban [playerid][time in minutes][reason]
Bans a player for a certain amount of time.
/unban [playername]
Unbans a player
/tp [playerid][target playerid]
Teleports a player to another player
/freeze [playerid]
Freeze or unfreeze a player
/setint [playerid][interiorid]
Changes a player's interior
/setvw [playerid][virtualworld]
Changes a player's virtual world
/supveh
Spawns a support vehicle
/spectate [playerid]
A selected player is watched here. If you re-enter the command, the viewer mode is terminated
/sethealth [playerid][amount]
Sets a player's life to a certain value
/setarmour [playerid][amount]
Sets a player's armor to a specific value
/repveh
Repairs the current vehicle. The player must be in it for this
/setweather [weatherid]
Changes the current weather
/killall
Kill all players on the server
/resetveh
Resets all unoccupied vehicles on the server
/delveh [vehicleid]
Deletes a specific vehicle
/respawnveh [vehicleid]
Respawns a specific vehicle
/getvid
Returns the current ID of the vehicle you are in
/warn [playerid][reason]
Gives the selected player a warning
/eject [playerid]
Kicks a player out of a vehicle if they are in one
/ slap [playerid]
Knocks up the selected player by +8
/cc
Cleans up the chat
/makeadmin [playerid][level]
Gives a selected player a specific rank. MAX_ADMINRANG cannot be exceeded
/getticket [id]
This accepts an open ticket
/a [text]
This allows team members to communicate with each other
/spawnveh [model]
This spawns a new vehicle
/restartserver [time in seconds]
The server will restart after the specified number of seconds.
5. Download
Quellcode: https://pastebin.com/MezvVVug
DL Link: https://dl.t4125gamer.de/SAMP/tg_adminsystem.zip
If you notice any errors or if you want more functions, please let me know. I would be happy about a rating.
|
|
|
|
| Hosted tab in 2023 |
|
Posted by: Mugi - 2023-02-25, 01:11 AM - Forum: General Discussions
- Replies (6)
|
 |
I know this may not be the right place to ask this. But I want to come back to the game and start a new server. I know that the Internet tab stopped working some years ago and now Internet tab is just Hosted tab. Is there a way to get my new server into Hosted tab? (I'd also like to use Open.mp server, will that get my server banned in Hosted listings?)
Thanks in advance.
|
|
|
|
Not Found Amx Function |
|
Posted by: lnrd77 - 2023-02-23, 08:29 AM - Forum: Pawn Scripting
- Replies (4)
|
 |
[23:24:44] No collision data found.
[23:24:44] Script[gamemodes/dayz.amx]: Run time error 19: "File or function is not found"
[23:24:44] Number of vehicle models: 0
Please tell me how to fix this because i already compile the gamemode.pwn no error or etc and if i start the server this warning show on log server and can`t join the server
|
|
|
|
| Sending message to Discord |
|
Posted by: Kox - 2023-02-19, 12:35 PM - Forum: Tutorials
- Replies (2)
|
 |
Hi,
This tutorial aims to give you a basic example about how to use a webhook to send message from your OpenMP/SA-MP server into a discord channel.
Requirements :
1)Â Install pawn-requests package on your server- Install the package with sampctl or manually
2) Creating a Discord webhook
- Create text channel
- Click "Edit Channel" =>Â Â Integrations => Create Webhook
- Click on the Webhook => Copy Webhook url (save it for later)
3)Â Send message from server
- Add requests include and create a RequestsClient with your webhook url
PHP Code: #include <requests>
new RequestsClient:client; main() {   client = RequestsClient("replace with your webhookurl"); }
- Send message to discrod
PHP Code: public OnPlayerConnect(playerid) {   new name[MAX_PLAYER_NAME + 1];   GetPlayerName(playerid, name, sizeof(name));   new string[MAX_PLAYER_NAME + 23 + 1];   format(string, sizeof(string), "%s has joined the server.", name);   RequestJSON(     client,     "",          HTTP_METHOD_POST,     "OnPostJson",      JsonObject(       "content", JsonString(string)     )   );   return 1; }
forward OnPostJson(Request:id, E_HTTP_STATUS:status, Node:node); public OnPostJson(Request:id, E_HTTP_STATUS:status, Node:node) {   if(status == HTTP_STATUS_NO_CONTENT) {     printf("successfully posted message");   }   else   {     printf("failed to post message");   } }
Now when a player connect to the server, a message will be sent on the discord channel.
![[Image: webhook-discord.png]](https://i.ibb.co/Nn59ttn/webhook-discord.png)
Credits
Southclaws for the requests package
Regards
|
|
|
|
| State of the Game 2023 |
|
Posted by: wit - 2023-02-11, 01:54 PM - Forum: General Discussions
- No Replies
|
 |
Hello.
Long-time SA:MPer, roleplayer, modder, server owner, and overall supporter of the broader community here returning after a sizeable hiatus.
As with most people floating back into the community after such a time -- and still without a central official forum via which to communicate -- I'm a little in the dark as to how alive the scene still is in 2023. I'm more than aware of the myriad of Middle Eastern and BRIC country communities still extant on the platform but my passion has always been the English language roleplaying scene.
Shortly after I last visited the community, mmartin's Los Santos Roleplay shut its SA:MP server in preparation for a GTA V multiplayer server that from my understanding has yet to materialise. Singleplayer Roleplay was doing well under Reyo and Dignity and has since merged with Red County Roleplay to form GTA Chronicles. The work they've put into revitalising the tired Los Santos environments of 2004 is unprecedented but I can't help but feel that it's a bit of a missed opportunity given the grander tech demos that came out of the SA:MP DL branch releases.
What is left? Is there some burgeoning roleplaying community that has escaped my notice or have most players whose PCs can handle it left for GTA V?
Is there any room left for innovation and newer communities on the platform? There were talks of Liberty City and Vice City roleplaying servers years back but from what I can see none of them survived or perhaps even made it to release at all.
Thanks for reading and thank you in advance for answering my many questions.
|
|
|
|
| GTA SA DE is the future |
|
Posted by: NoxxeR - 2023-02-01, 08:52 PM - Forum: General Discussions
- Replies (6)
|
 |
Why dont sa-mp team or open.mp team release open.mp or samp support for SA DE, I installed the game some year ago, and now tried it again, its better than regular san andreas.
And it looks cool with the white colors which sorround the players, this is cool:
https://www.youtube.com/watch?v=TtWxflUBlI0
GTA SA Defintive edition is the future, its based on the same engine as fortnite and people would pay money to play this online in years from now. Open MP is the future and can save people.
Theres even better grahpics in GTA SA DE than regular GTA san andreas, so what do the developers of open mp think? :)
Which road is open mp gonna take, I dont hang around on discord so I dont know what you chat about there.
|
|
|
|
|