Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 270 online users. » 0 Member(s) | 267 Guest(s) Google, Bing, Facebook
|
Latest Threads |
Stream fuboTV6 on Roku
Forum: General Discussions
Last Post: fuboservices
7 hours ago
» Replies: 0
» Views: 6
|
Why I Chose to Pay Someon...
Forum: Chat
Last Post: lucymartin1416
Yesterday, 10:06 AM
» Replies: 0
» Views: 13
|
essaywriter
Forum: Pawn Scripting
Last Post: marquinasergio931
Yesterday, 02:25 AM
» Replies: 0
» Views: 10
|
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: Fecteve1
2025-05-16, 08:28 AM
» Replies: 3
» Views: 545
|
Parallel for missing iter...
Forum: Questions and Suggestions
Last Post: Fecteve
2025-05-16, 04:36 AM
» Replies: 3
» Views: 2,154
|
Error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-05-15, 05:33 PM
» Replies: 1
» Views: 122
|
FPS issues
Forum: General Discussions
Last Post: NoxxeR
2025-05-14, 11:55 AM
» Replies: 1
» Views: 134
|
Rockstar energy drink
Forum: Chat
Last Post: PawnFox
2025-05-12, 06:54 PM
» Replies: 1
» Views: 100
|
LS City Hall
Forum: Maps
Last Post: N0FeaR
2025-05-12, 09:06 AM
» Replies: 2
» Views: 1,159
|
How to save gangzones?
Forum: Pawn Scripting
Last Post: N0FeaR
2025-05-12, 08:49 AM
» Replies: 1
» Views: 438
|
|
|
New Dawn [DM | DD | EDM | & more] |
Posted by: Fruity - 2025-04-09, 09:17 AM - Forum: Advertisements
- No Replies
|
 |
🚨 NEW DAWN IS BACK! 🚨
The legendary SAMP server that defined an era is making its return — New Dawn, founded in 2010, officially revived in 2025!
From 2010 to 2017, New Dawn reigned as the biggest and best multi-mode SAMP server, bringing players together for countless hours of unforgettable fun. Whether you were racing through DM, battling it out in DD, dominating in EDM, or just hanging out with friends — this was the place to be.
Now, it's time to bring it all back.
🌅 New Dawn is officially LIVE once again! 🌅
We’re inviting veterans to relive the glory days and new players to discover why this server became a legend.
🔥 Classic Modes: DM, EDM, DD & more
👥 A community built on fun, competition, and good vibes
📆 Open for April 2025 — and beyond if YOU keep it alive!
Whether you’ve been here since day one or you're just hearing the name, this is your moment to be part of something iconic.
📍JOIN US
🌍 Server IP: 40.81.139.57:7777
📨 Discord: https://discord.gg/A7SbVB8JMr
Trailers:
[Video: https://www.youtube.com/watch?v=gqWk76sQFD0]
[Video: https://www.youtube.com/watch?v=k8cb1N7d3sc]
|
|
|
=== Valemore Roleplay === | SAMP RP May Be Dead, But Our Love For It Has Not! |
Posted by: stellab - 2025-03-31, 06:20 AM - Forum: Advertisements
- No Replies
|
 |
Join us on our journey to completion!
THIS IS NOT A FINISHED PRODUCT BY ANY MEANS
Based In Fort Carson/Bone County - Join us on our journey to completion!
It is my understanding that SAMP roleplay has died off, and god awfully has it... But my love for roleplay, and SAMP however has Not. Allow me to introduce the IDEA - Of Valemore Roleplay!
Bringing inspiration in some aspects of the server from prior popular server(s), we (Me and a friend, not a whole team) strive to create something that will benefit not just mine, but everybody else's time spent in this server. It's currently underway to be completed and I've come to the idea of "Well... Let's open this sucker up and see if I can't get some testers and maybe some people might like it and stay for the journey, right?"
Valemore Roleplay strives to create an environment of FREEDOM TO ROLEPLAY but what does that mean exactly?
It means - You develop your character to YOUR tastes, to what YOU want your character to be! It's easy as that.
But WHY is Valemore Roleplay being advertised as an unfinished product? Well see- We need a playerbase of testers, but that doesn't mean to exclude the roleplay aspects, you'd still need to rp. People who may come on daily, weekly, whenever they please and help me and my co-dev find and fix bugs in what already exists in our Completely From Scratch script as well as joining us on our journey to completion and full release!
What exactly makes Valemore Roleplay worth playing? Or visiting even? Well... Nothing, really. If I'm being honest! But here's a recap of what we have currently.
Login/Register [No Master Account, Firstname_Lastname]
RP Name Security Measures
Quarry side-job - Visit the quarry near Fort Carson with /findjob and clear up all that rubble for a payout!
Courier side-job - Found in Fort Carson or using /findjob you can deliver packages to the tenants of Fort Carson for a payout!
[INSPIRED] Hourly Paycheck System - Physically pick up your paycheck at the bank using a generated code
[INSPIRED] Custom vehicle repair - Damaged vehicle? Leave it with the mechanics, and return back in due time to collect your repaired car!
SASD + EMS Job + some commands [Not all tested completely.]
EMS Vehicles [SASD vehicles coming very soon]
Vehicle Hotwiring + Requirements
Driver's Education + Driver's License + Firearms License Class A & B
Injury + Death System - Labels above head when dead - Critically Wounded!
Housing + Businesses [4 types of businesses thus far, buyable and funds can be collected at your convenience]
Car Rentals - Rent a car until you log off!
[INSPIRED] Fishing activity - Go catch those whales for huge profits!
Trucking Activity - Complete deliveries across San Andreas to level up your trucking skills to gain more $$$ per trip!
Black Market Area - Only one drug introduced thus far. Stay logged in until your seed grows if you plant! [1 hr]
Car Dealership + Car Ownership, parking, locking, spawning, despawning [no trunk usage yet]
Custom vehicle plates
Banking - Deposit & withdraw your cash!
Join our testing phase today if you'd like to, and please follow server & discord rules as they are stated in our Discord.
Server IP: 51.79.96.70:7790 [UPDATED]
Discord Link: https://discord.gg/9c9D6Y4eD8
|
|
|
what is this? |
Posted by: Axzyl - 2025-03-28, 09:28 PM - Forum: Chat
- No Replies
|
 |
(40) : warning 213: tag mismatch: expected tag none ("_"), but found "Float"
(40) : warning 213: tag mismatch: expected tag none ("_"), but found "Float"
(41) : warning 213: tag mismatch: expected tag none ("_"), but found "Float"
(41) : warning 213: tag mismatch: expected tag none ("_"), but found "Float"
(49) : warning 213: tag mismatch: expected tag none ("_"), but found "Float"
(59) : warning 239: literal array/string passed to a non-const parameter
(121) : warning 203: symbol is never used: "banish"
(121) : warning 203: symbol is never used: "ghosthunt"
(121) : warning 203: symbol is never used: "radar"
///////////////////////////////////////////////////////////////////////////////////////////////////////////
#include <a_samp>
#include <a_players>
#include <a_vehicles>
#include <a_npc>
#include <a_objects>
#define GHOST_VEHICLE_ID 487
#define GHOST_HUNTER_SKIN 20
#define GHOST_VAN_MODEL 487
#define GHOST_HUNTER_TEAM 1
new g_Hunters[MAX_PLAYERS];
stock SpawnGhostVan(playerid) {
new Float:x, Float:y, Float:z, Float:angle;
GetPlayerPos(playerid, x, y, z);
angle = GetPlayerFacingAngle(playerid);
vehicleid = AddStaticVehicle(GHOST_VEHICLE_ID, x + 5.0, y + 5.0, z, angle, 0, 0);
SetVehicleInvulnerable(vehicleid, 1);
SetVehicleColor(vehicleid, 0, 0);
return vehicleid;
}
CMD:ghosthunt(playerid, params[]) {
if (g_Hunters[playerid] == 1) {
SendClientMessage(playerid, 0xFF0000FF, "You are already a Ghost Hunter!");
return 1;
}
g_Hunters[playerid] = 1;
SetPlayerSkin(playerid, GHOST_HUNTER_SKIN);
SendClientMessage(playerid, 0x00FF00FF, "You are now a Ghost Hunter! Use your Ghost Van to track and defeat paranormal creatures!");
SpawnGhostVan(playerid);
return 1;
}
stock SpawnGhost() {
new Float:x, Float:y, Float:z;
x = random_float(-2500.0, 2500.0);
y = random_float(-2500.0, 2500.0);
z = 1000.0;
AddPlayerClass(26, x, y, z, 180.0, 0, 0, 0, 0, 0, 0);
return 1;
}
stock random_float(min, max) {
return min + (random(max - min) / 1000.0);
}
stock random_int(min, max) {
return random(max - min) + min;
}
public RandomGhostEvent();
public OnGameModeInit() {
SetTimer("RandomGhostEvent", 60000, true);
return 1;
}
public RandomGhostEvent() {
if (random_int(0, 10) > 5) {
SpawnGhost();
}
return 1;
}
CMD:radar(playerid, params[]) {
if (g_Hunters[playerid] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "You need to be a Ghost Hunter to use the radar!");
return 1;
}
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
for (new i = 0; i < MAX_PLAYERS; i++) {
if (IsPlayerConnected(i) && g_Hunters[i] == 0) {
new Float gx, Float gy, Float gz;
GetPlayerPos(i, gx, gy, gz);
if (GetDistanceBetweenCoords(x, y, z, gx, gy, gz) < 50.0) {
SendClientMessage(playerid, 0x00FF00FF, "Ghost detected nearby! Use your van to track it down!");
}
}
}
return 1;
}
CMD:banish(playerid, params[]) {
if (g_Hunters[playerid] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "You need to be a Ghost Hunter to use the banish ability!");
return 1;
}
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
for (new i = 0; i < MAX_PLAYERS; i++) {
if (IsPlayerConnected(i) && g_Hunters[i] == 0) {
new Float gx, Float gy, Float gz;
GetPlayerPos(i, gx, gy, gz);
if (GetDistanceBetweenCoords(x, y, z, gx, gy, gz) < 50.0) {
SendClientMessage(playerid, 0x00FF00FF, "Ghost successfully banished!");
return 1;
}
}
}
SendClientMessage(playerid, 0xFF0000FF, "No ghost nearby to banish!");
return 1;
}
public OnPlayerEnterCheckpoint(playerid) {
if (g_Hunters[playerid] == 1) {
SendClientMessage(playerid, 0x0000FFFF, "You're near a haunted spot. Use your radar to find ghosts!");
}
return 1;
}
|
|
|
help with hotdog vendor samp |
Posted by: Axzyl - 2025-03-24, 09:02 AM - Forum: Programming
- Replies (4)
|
 |
#include <a_samp>
#define VEHICLE_MODEL_ID 588
#define SELLER_SKIN 40
#define HOTDOG_COST 100
#define HOTDOG_HP 100
#define SELLER_REWARD 3000
#define MAX_VENDORS 5 // You can set this to the maximum number of vendor vehicles you want to allow
#define KEY_2 0x2000 // Define 2 key
#define KEY_LALT 0x40000 // Define Left Alt key
#define COLOR_GREEN 0x00FF00FF
#define COLOR_YELLOW 0xFFFF00FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_RED 0xFF0000FF
new g_VehicleIDs[MAX_VENDORS];
new g_Sellers[MAX_VENDORS] = {INVALID_PLAYER_ID, INVALID_PLAYER_ID, INVALID_PLAYER_ID, INVALID_PLAYER_ID, INVALID_PLAYER_ID};
new g_VendorSelling[MAX_VENDORS] = {false, false, false, false, false};
// Coordinates for vehicle spawn
new Float:spawnX = 404.0;
new Float:spawnY = 2135.5701;
new Float:spawnZ = 1442.1515;
new Float:spawnAngle = 269.9492;
public OnGameModeInit()
{
// Spawn multiple vehicles at specified coordinates
for (new i = 0; i < MAX_VENDORS; i++)
{
g_VehicleIDs[i] = AddStaticVehicle(VEHICLE_MODEL_ID, spawnX + (i * 3), spawnY, spawnZ, spawnAngle, 1, 1); // Slight offset to avoid overlap
}
SetTimer("CheckVehiclePositions", 300000, true); // Check every 5 minutes for vehicles' positions
return 1;
}
// Pressing "2" to toggle selling hotdogs
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
// Check if player presses "2"
if (newkeys & KEY_2)
{
// Check if the player is inside a vendor vehicle (ID 588)
new vehicleid = GetPlayerVehicleID(playerid);
if (vehicleid != INVALID_VEHICLE_ID && GetVehicleModel(vehicleid) == VEHICLE_MODEL_ID)
{
// Loop through all vendor vehicles to find the player's assigned vehicle
for (new i = 0; i < MAX_VENDORS; i++)
{
if (g_VehicleIDs[i] == vehicleid) // The player is inside a valid vendor vehicle
{
// Check if the player is already a vendor
if (g_Sellers[i] == INVALID_PLAYER_ID)
{
g_Sellers[i] = playerid; // Assign the player as the vendor for this vehicle
g_VendorSelling[i] = true; // Start selling for this vehicle
SendClientMessage(playerid, COLOR_GREEN, "You are now the Hotdog Vendor!");
SendClientMessageToAll(COLOR_YELLOW, "A new Hotdog vendor has started selling!");
}
break;
}
}
}
}
// If player presses Left Alt (KEY_LALT) to buy hotdog
if (newkeys & KEY_LALT)
{
// Loop through all vendor vehicles
for (new i = 0; i < MAX_VENDORS; i++)
{
if (g_VendorSelling[i] && !IsPlayerInVehicle(playerid)) // Ensure player is not in vehicle and vendor is selling
{
if (GetPlayerMoney(playerid) >= HOTDOG_COST)
{
// Increase health
new currentHealth = GetPlayerHealth(playerid);
SetPlayerHealth(playerid, currentHealth + HOTDOG_HP);
// Subtract money
GivePlayerMoney(playerid, -HOTDOG_COST);
SendClientMessage(playerid, COLOR_WHITE, "You bought a Hotdog and gained 100 HP!");
// Give seller reward
if (g_Sellers[i] != INVALID_PLAYER_ID)
{
GivePlayerMoney(g_Sellers[i], SELLER_REWARD);
SendClientMessage(g_Sellers[i], COLOR_YELLOW, "You earned $3000 from a Hotdog sale!");
}
}
else
{
SendClientMessage(playerid, COLOR_RED, "You don't have enough money for a Hotdog!");
}
}
}
}
return 1;
}
// When a player exits a vehicle, they stop being the vendor
public OnPlayerExitVehicle(playerid, vehicleid)
{
for (new i = 0; i < MAX_VENDORS; i++)
{
if (vehicleid == g_VehicleIDs[i] && playerid == g_Sellers[i]) // If the player leaves the vendor vehicle
{
SendClientMessage(playerid, COLOR_RED, "You have left the vehicle and stopped selling hotdogs.");
g_Sellers[i] = INVALID_PLAYER_ID; // Clear the vendor role
g_VendorSelling[i] = false; // Stop selling hotdogs for this vehicle
}
}
return 1;
}
// Check if any vehicle is moved, respawn if needed
forward CheckVehiclePositions();
public CheckVehiclePositions()
{
for (new i = 0; i < MAX_VENDORS; i++)
{
// Check if the vendor vehicle exists at the spawn location
new Float:vehX, Float:vehY, Float:vehZ;
GetVehiclePos(g_VehicleIDs[i], vehX, vehY, vehZ);
// If the vendor vehicle is not at the spawn location
if (floatabs(vehX - (spawnX + (i * 3))) > 10.0 || floatabs(vehY - spawnY) > 10.0 || floatabs(vehZ - spawnZ) > 10.0) // 10 units tolerance
{
// Try to spawn a new vehicle if it doesn't exist at the spawn point
new vehicleid = INVALID_VEHICLE_ID;
// Loop through all possible vehicle IDs (vehicle IDs are indexed from 1)
for (new vehicleIndex = 1; vehicleIndex <= MAX_VEHICLES; vehicleIndex++)
{
vehicleid = vehicleIndex; // Check each vehicle ID
if (vehicleid != INVALID_VEHICLE_ID)
{
new Float:checkX, Float:checkY, Float:checkZ;
GetVehiclePos(vehicleid, checkX, checkY, checkZ);
// If vehicle is within a 10-unit radius of the spawn location
if (floatabs(checkX - (spawnX + (i * 3))) <= 10.0 && floatabs(checkY - spawnY) <= 10.0 && floatabs(checkZ - spawnZ) <= 10.0)
{
// Vehicle is close enough, no need to respawn
vehicleid = INVALID_VEHICLE_ID;
break;
}
}
}
// If no vehicle found at spawn point, spawn a new one
if (vehicleid == INVALID_VEHICLE_ID)
{
g_VehicleIDs[i] = AddStaticVehicle(VEHICLE_MODEL_ID, spawnX + (i * 3), spawnY, spawnZ, spawnAngle, 1, 1);
SendClientMessageToAll(COLOR_YELLOW, "A vendor vehicle has been reset to its original location!");
}
}
}
return 1;
}
so this: SetTimer("CheckVehiclePositions", 300000, true); // Check every 5 minutes for vehicles' positions and this: if (g_VendorSelling[i] && !IsPlayerInVehicle(playerid)) // Ensure player is not in vehicle and vendor is selling and this: new currentHealth = GetPlayerHealth(playerid); has warning messages saying for the first one: (36) warning 239: literal array/string passed to a non-const parameter second one: (75) warning 202: number of arguments does not match definition and third one: (81) warning 202: number of arguments does not match definition. please help ;3
|
|
|
Making a scratch RP server. Suggestions? |
Posted by: stellab - 2025-03-23, 09:11 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Basically what the title says. I'd like some suggestions to what I could add into my server, I've got a few things already.
I know SAMP RP servers have died off, but my love for SAMP and roleplaying on the platform has not. So I'm here to bring something fresh, something new. No edits, no code copies, all from the basic .pwn file.
At the moment I have the following:
I will not release any script context as it could potentially lead to somebody finding a way to copy the script and claiming it as their own.
Login & Register [no master account]
Player death system [Currently semi-bugged but working on it]
EMS Faction + EMS Ranks + Ambulances + Faction locked + hospital interior
Police Faction + Police ranks, no vehicles yet, no interior yet
Businesses (4 types so far)
Vehicle Damages, Repairs, and Functions
Quarry Side-Job
Level System
Paychecks
Player stats dialog
Clothing selection
Ammunition boxes - working on compatibility with guns in slots.
Black market [Not fully finished]
Marijuana growing/planting/harvesting
Pay n sprays all over San Andreas blocked off for realism purposes
Little bit of custom mapping, it isn't the greatest.
WHAT'S NEW SINCE THE POST?
[new] Injury system [Currently semi-bugged, but working on it]
[new] Custom vehicle repair
[new] Trucker Job + Trucker Levels with varying payouts
[new] Business type restaurant
[new] Fishing activity - Catch the fish of your dreams!
[new] Housing - Store items, lock your home, and furnish it to your visions desire. [No Custom Ints Yet]
[new] Rental vehicles - Rent a car until you logout
[new] Driver's Education + Driver's License
[new] Firearms License A & B
[new] Security Enhancement - Roleplay Names Required
[new] Custom vehicle plates
[new] Able to customize the color of your car
[new] Player inventory
[new] Expanded on player vehicle ownership - Vehicle spawning, parking, locking, despawning
[new] Expanded on the /help command - added more ease of access side-commands
WHAT IS BEING WORKED ON?
More additions to EMS & PD
Different drug types & effects
Any unique ideas?
|
|
|
Questions and Suggestions for open.mp |
Posted by: lavonnerhill - 2025-03-22, 03:46 AM - Forum: Questions and Suggestions
- No Replies
|
 |
Hello everyone,
I have a few questions and suggestions regarding the open.mp mod for GTA: San Andreas that I hope the community can help with. I have noticed that the site can be quite slow at times. Is this a common issue and are there any plans to improve the speed of the site. I need some much needed input!
|
|
|
SWAT VS TERRORIST [TDM] [GIVEAWAYS] |
Posted by: MoD - 2025-03-20, 02:41 PM - Forum: Advertisements
- No Replies
|
 |
We’re excited to officially announce the relaunch of SWAT VS TERRORIST [TDM] ! This time, we’re bringing you new content, exciting events, and even more action-packed gameplay!
SERVER IP: 91.121.237.130:7777
💥 What’s waiting for you?
✅ Intense combat and strategic base captures
✅ Unique class system with XP rewards
✅ Factions, VIP perks, and community-driven gameplay
✅ A fresh start, new challenges, and an active team
SERVER INFORMATION:
HostName: SWAT vs TERRORISTS - [TDM] [OFFICIAL]
Address: 91.121.237.130:7777
Players: 25 / 50
Ping: 148
Mode: SvT TDM | Swat vs Terrorists
Language: All
Discord server: https://discord.gg/wmaJ4Tk
|
|
|
Undead Project Zombie Survival |
Posted by: Undead - 2025-03-20, 07:33 AM - Forum: Advertisements
- No Replies
|
 |
[Undead Project | Human vs Zombie PvP SA-MP Server]
Choose your side. Fight for survival or spread the infection.
Undead Project is the ultimate PvP battleground where Humans face off against Zombies in an intense, action-packed SA-MP experience.
Features:- ⚔️ Human vs Zombie PvP Combat
- ★ Unique Classes & Abilities
- ★ Custom Maps & Arenas
- ★ XP & Rank System
- ★ Radiation Zones, Safehouses & Loot Crates
- ★ Special Events & Boss Fights
- ★ Active Admins & Friendly Community
Join the apocalypse. Survive or infect.
IP:
coming soon!
Discord:
https://discord.gg/ERqwBcZB
Website:
coming soon!
Undead Project — The war between life and death begins now.
|
|
|
Challenges in Implementing Server-Side Anti-Cheat for Open.MP |
Posted by: joseedaniell - 2025-03-18, 11:41 AM - Forum: Tech
- No Replies
|
 |
Hello
With multiplayer gaming growing rapidly; preventing cheating has become one of the biggest challenges for server administrators. I’ve been exploring different ways to implement an effective anti-cheat system for an Open.MP server and would like to discuss the best approaches with the community.
While client-side anti-cheat solutions can help detect unauthorized modifications; they are often bypassed by experienced hackers. That’s why I’m particularly interested in server-side anti-cheat mechanisms that can detect suspicious behavior without relying on client integrity checks.
One of the methods I’ve been considering is using heuristic-based detection, such as monitoring player movement patterns, weapon accuracy & input consistency. For example, detecting aimbots through unnatural aim adjustments or speed hacks by analyzing player velocity.
However; a major challenge is balancing strict detection rules while avoiding false positives that might unfairly ban legitimate players. Another approach could involve machine learning models that adapt over time to recognize abnormal gameplay behaviors, but implementing this at scale seems complex. Checked Open.MP Server Development Documentationreactjs course online guide and found it informative .
I’d love to hear from others who have tackled this problem—what server-side techniques have you found most effective in preventing cheating on Open.MP? Are there existing libraries or frameworks that integrate well with Open.MP for this purpose? Additionally; how do you handle automatic bans versus manual flagging for admin review? Any insights, best practices / even sample implementations would be greatly appreciated. Let’s work together to make Open.MP a fairer and more secure platform for players!
Thank you!!
|
|
|
|