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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,797
» Latest member: Ajclark
» Forum threads: 2,369
» Forum posts: 12,247

Full Statistics

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

Latest Threads
MMOexp: The Living Custom...
Forum: Life
Last Post: Brisk
7 hours ago
» Replies: 0
» Views: 20
MMOexp: Ice Shot Hunter M...
Forum: Life
Last Post: Brisk
7 hours ago
» Replies: 0
» Views: 13
MMOexp: A High-End Paladi...
Forum: Life
Last Post: Brisk
7 hours ago
» Replies: 0
» Views: 13
RolePlay Gamemode [WIP]
Forum: Gamemodes
Last Post: su109551
Yesterday, 07:59 PM
» Replies: 2
» Views: 49
My website is now up
Forum: Tech
Last Post: Centnodes
Yesterday, 07:19 PM
» Replies: 1
» Views: 61
Broken voice
Forum: Support
Last Post: yunnnjunior
Yesterday, 11:41 AM
» Replies: 0
» Views: 20
tjtru
Forum: Questions and Suggestions
Last Post: decwaf
Yesterday, 05:45 AM
» Replies: 0
» Views: 23
jjtutrj
Forum: Pawn Scripting
Last Post: decwaf
Yesterday, 05:42 AM
» Replies: 0
» Views: 25
hnrjttr
Forum: Releases
Last Post: decwaf
Yesterday, 05:41 AM
» Replies: 0
» Views: 26
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: anggafrengki0
Yesterday, 04:39 AM
» Replies: 2
» Views: 87

 
  I want to give copyright to a samp server
Posted by: devilaj098 - 2023-09-23, 11:59 AM - Forum: Support - Replies (2)

Hello I'm ali owner of Sunrise roleplay server. I want to claim copyright. I start Sunrise Roleplay with my freinds some months ago, but we stop working on server for some time. Yestrday my freind cloab with indian street roleplay(isrp) and isrp's owner change name and logo to Sunrise Roleplay and and he said give me your script we will work on it, he played on our server some time and then he kick our script. Now he saying change yourrr server name and logo or I will copyright on your server. https://discord.gg/HbmHJjtzaR
That is isrp server's dc. https://discord.gg/uc5DdurAAM
That is mine server's dc. Help us please.


  [Announce]SSGamers
Posted by: weslley_script - 2023-09-17, 09:28 PM - Forum: Advertisements - Replies (1)

As I don't know if this place is a place for advertisements derived from PT-BR SA-MP, I am inserting the information in English
SSGamers is a community where there is a wide range of members, we don't have 1/10 of what is on the open MP Discord, but I would appreciate it if you would allow me to leave the ad here so that you can help me with my growth.

Our Discord aims to cover various games to advertise servers and assist members in the programming field.

Everyone is welcome to our SSGamers community.


Sad INCLUDE PROBLEM
Posted by: alexandrogallegos09 - 2023-09-15, 08:29 AM - Forum: Pawn Scripting - Replies (6)

I have a problem with this Include, my text its not showin up but instead the textdraw:

include:
[Image: Uw9eO37.png]

my game:
[Image: fMFRUH0.png]

my cmd:

Code:
CMD:black1(playerid, params[])
{
    notification.Show(playerid, "Testing", "Testing blablabalablablablbasdgfsfsf\nsqhgfsqfqsfqsf", "hud:radar_triads");
    notification.Show(playerid, string:"Rules", string:"1st: Go fuck your self\n2nd: :despondency\n 3rd: blablablablabla", string:"hud:radar_triads");
    return 1;
}

my includes:
Code:
#include <a_samp>
#include <a_mysql>
#include <streamer>
#include <sscanf2>
#define YSI_NO_HEAP_MALLOC
#define TDN_MODE_DEFAULT
#include <notify>
#include <zcmd>

If anyone can help me i would be so thankful, sorry my bad english.

Original .inc link


Sad i have problem with easyDialog or mysql r41-4
Posted by: lifehd326 - 2023-09-14, 02:22 PM - Forum: Pawn Scripting - Replies (1)

Dovada: https://www.youtube.com/watch?v=JI6VpCtqK2w

public OnGameModeExit()
{
mysql_close(SQL);
return 1;
}

public OnPlayerRequestClass(playerid)
{
return 1;
}
public OnPlayerConnect(playerid)
{
qQuery[0] = (EOS);
mysql_format(SQL, qQuery, sizeof(qQuery), "SELECT * FROM `users` WHERE `Name` = '%e' LIMIT 1", GetPlayerNameEx(playerid));
mysql_pquery(SQL, qQuery, "CheckPlayerAccount", "d", playerid);
PlayerInfo[playerid][pLoginTires] = 0;
return 1;
}

function CheckPlayerAccount(playerid) {

qString[0] = (EOS);
switch(cache_num_rows())
{
case 0:
{
format(qString, sizeof(qString), "Bine ai venit, %s.\nScrie o parola pentru a te inregistra:", GetPlayerNameEx(playerid));
Dialog_Show(playerid, DILOAG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", qString, "Register", "Quit");
}
case 1:
{
format(qString, sizeof(qString), "Bine ai revenit, %s.\nScrie mai jos parola contului tau:", GetPlayerNameEx(playerid));
Dialog_Show(playerid, DIALOG_LOGIN, DIALOG_STYLE_PASSWORD, "Login", qString, "Login", "Quit");
}
}
return 1;
}

Dialog:DIALOG_REGISTER(playerid, response, listitem, inputtext[]) {

if(!response)
return Kick(playerid);

if(strlen(inputtext) < 8 || strlen(inputtext) > 32)
return Dialog_Show(playerid, DILOAG_REGISTER, DIALOG_STYLE_PASSWORD, "Register", "Scrie o parola pentru a te inregistra:\nNumarul de caractere trebuie sa fie format din 8 - 64", "Register", "Quit");


format(PlayerInfo[playerid][pName], 24, GetPlayerNameEx(playerid));
format(PlayerInfo[playerid][pPassword], 128, inputtext);

qQuery[0] = (EOS);
mysql_format(SQL, qQuery, sizeof(qQuery), "INSERT INTO `users` (Name, Password) VALUES ('%e', '%e')", GetPlayerNameEx(playerid), inputtext);
mysql_pquery(SQL, qQuery, "CheckSQLID", "d", playerid);

Dialog_Show(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, "E-Mail", "Scrie mai jos adresa ta de e-mail:", "Ok", "");


return 1;
}

Dialog:DIALOG_EMAIL(playerid, response, listitem, inputtext[])
{

if(!response)
return Dialog_Show(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, "E-Mail", "Scrie mai jos adresa ta de e-mail:", "Ok", "");

if(strlen(inputtext) < 8 || strlen(inputtext) > 128 || !IsValidEmailAddress(inputtext))
return Dialog_Show(playerid, DIALOG_EMAIL, DIALOG_STYLE_INPUT, "E-Mail", "Scrie mai jos adresa ta de e-mail:\nAdresa de e-mail nu este valida.", "Ok", "");

qQuery[0] = (EOS);
mysql_format(SQL, qQuery, sizeof(qQuery), "UPDATE `users` SET `Email` = `%e` WHERE `ID` = `%d`", PlayerInfo[playerid][pEmail], PlayerInfo[playerid][pSQLID]);
mysql_tquery(SQL, qQuery, "", "");

return 1;
}
Dialog:DIALOG_LOGIN(playerid, response, listitem, inputtext[]) {

if(!response)
return Kick(playerid);

qQuery[0] = (EOS);
mysql_format(SQL, qQuery, sizeof(qQuery), "SELECT * FROM `users` WHERE `Name` = `%e` AND `Password` = `%e` LIMIT 1", GetPlayerNameEx(playerid), inputtext);
mysql_pquery(SQL, qQuery, "OnPlayerLogin", "d", playerid);
return 1;
}
function OnPlayerLogin(playerid) {

switch(cache_num_rows())
{
case 0:
{

PlayerInfo[playerid][pLoginTires] ++;
if(PlayerInfo[playerid][pLoginTires] == 3) return Kick(playerid);

}
case 1:
{

cache_get_value_name_int(0, "pSQLID", PlayerInfo[playerid][pSQLID]);
cache_get_value_name_int(0, "Name", PlayerInfo[playerid][pName]);
cache_get_value_name_int(0, "Password", PlayerInfo[playerid][pPassword]);
cache_get_value_name_int(0, "Email", PlayerInfo[playerid][pEmail]);

}
}

return 1;
}

function CheckSQLID(playerid) {

PlayerInfo[playerid][pSQLID] = cache_insert_id();
printf("New account: %s.", GetPlayerNameEx(playerid));
return 1;
}


Question Worth it?
Posted by: Artysh - 2023-09-08, 03:45 PM - Forum: General Discussions - Replies (2)

Hello everyone,

A quick intro - I've been around the community since 2009, playing and developing. Maybe some of you would know me as CLT or Cesar Lauren Tom...
I came around this open.mp project and was intrigued, I see there's some activity and 29k players daily, most of them are ofc playing on the russian servers. 

So my question is - is it worth starting a roleplay server nowdays? I've a gm lying on my GitHub for years and it's ready to run.

When talking about is it worth it or not, I don't mean money aspects. Just if there's a chance to still build a stable community that keeps enjoying the game. 

Looking forward to your answers...

BR,
Arty


  [help] crashdetect
Posted by: Boris. - 2023-09-07, 12:22 PM - Forum: Pawn Scripting - Replies (1)

Hi, I had a bunch of timeouts that day, suddenly 30 players had timeouts, one after the other. However, I have nothing in the server_log? This error was thrown 5-6 hours before the players had a timeout. I wonder why it doesn't show the exact error, and which line in the script causes it?

Code:
[2023-09-03 12:41:38] [debug] Run time error 5: "Invalid memory access" 
[2023-09-03 12:41:38] [debug] AMX backtrace: 
[2023-09-03 12:41:38] [debug] #0 0002a65c in public OnPlayerCommandText (3, 26756692) from dd.amx 
[2023-09-03 12:41:38] [debug] #1 00022c94 in public OnPlayerText (3, 26756692) from dd.amx


  Anyone got old rp scripts for samp? P:LA, SA:RP?
Posted by: COLT45 - 2023-09-05, 06:46 PM - Forum: General Discussions - Replies (5)

So, like the title says im willing to buy samp rp script.

Offer me!

Looking for these atleast: P:LA, SA:RP


  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?