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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,786
» Latest member: shontonoshok
» Forum threads: 2,359
» Forum posts: 12,231

Full Statistics

Online Users
There are currently 379 online users.
» 0 Member(s) | 376 Guest(s)
Google, Bing, Facebook

Latest Threads
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
1 hour ago
» Replies: 6
» Views: 453
Discord problem.
Forum: Support
Last Post: drwnrbbt
Today, 04:52 AM
» Replies: 2
» Views: 35
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
Yesterday, 09:38 PM
» Replies: 9
» Views: 340
LiveDialogs.inc
Forum: Libraries
Last Post: vawylon
2025-12-19, 05:53 AM
» Replies: 0
» Views: 58
Awakeninga an old server.
Forum: Support
Last Post: Polecalex
2025-12-17, 11:33 PM
» Replies: 1
» Views: 200
Recompiling for x86_64 or...
Forum: General Discussions
Last Post: Polecalex
2025-12-17, 12:57 AM
» Replies: 0
» Views: 73
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: hiago.sucesso.hs
2025-12-16, 03:40 PM
» Replies: 1
» Views: 212
Is there a WebSocket plug...
Forum: General Discussions
Last Post: hiago.sucesso.hs
2025-12-16, 03:37 PM
» Replies: 0
» Views: 37
What would you start?
Forum: Life
Last Post: HELLHOUND
2025-12-14, 10:32 PM
» Replies: 5
» Views: 10,362
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-13, 07:16 PM
» Replies: 4
» Views: 809

 
  Anticheat
Posted by: Clicked - 2024-05-29, 04:47 PM - Forum: Programaci?n - Replies (3)

Hola !

Estoy tratando de instalar el Nex-AC en un gamemode base. Me da muchos warnings cuando trato de compilar en el archivo nex-ac.inc referidos a warning 213 y warning 239. Para ser exacto tengo 224 advertencias en el codigo.
Intente solucionarlos de varias formas, pero se me terminaron los recursos. Dejo algunas lineas con sus respectivas warnings, aver si alguien puede ayudarme. Agradeceria mucho si pueden ayudarme o recomendarme algun otro anticheat sin este inconveniente.
Estoy volviendo a programar despues de mucho tiempo, pero entiendo lo suficiente.

Gracias de antemano, saludos !

Code:
warning 213: tag mismatch: expected tag none ("_"), but found "t_SPECIAL_ACTION"

if(ac_actionid == SPECIAL_ACTION_USEJETPACK || 24 <= ac_actionid <= 25 ||
---------------------------
warning 213: tag mismatch: expected tag "bool", but found none ("_")

if(!SetVehicleParamsEx(vehicleid, ac_engine, ac_lights, ac_alarm, ac_doors, ac_bonnet, ac_boot, ac_objective)) return 0;
---------------------------
warning 239: literal array/string passed to a non-const parameter

return ac_KickWithCode(playerid, "", 0, 29, 2);


  a_npc get 26 error
Posted by: xxrirqaz - 2024-05-22, 11:22 PM - Forum: Pawn Scripting - Replies (1)

I get 26 error in include a_npc 
all error Symbol already defined 
#include <a_npc>


  [ENG] Valrise Gaming
Posted by: Valrise Gaming - 2024-05-21, 12:41 AM - Forum: Advertisements - No Replies

[Image: BHuGDMt.png]


♦️ About us
Launched in June of 2017, the Valrise Gaming (formerly known as Mudoo) has steadily provided endless hours of action packed entertainment to the players. The community is based on a light roleplay (RPG) server in SA:MP with an additional Minecraft server available for those who enjoy modded survival experience.

♦️ Websites
Homepage
Discord
Government

IP: rpg.valrisegaming.com:7777

♦️ Preview
[Video: https://www.youtube.com/watch?v=X8hTAM1X7Z4]


  MY SAMP IS CRASH 0x75F70B82
Posted by: nazheep12 - 2024-05-16, 11:17 AM - Forum: Support - No Replies

Type: Client

Crash Code: 0x75F70B82

Crash Extra Information: https://pastebin.com/ACjs0dG4

Client Version: 0.3.7 R1

Mods Installed: No

Mods (if above is yes):

Explanation (Be detailed yet simple in your answers):I just restart my pc and my samp is crash


  turf system
Posted by: Sizy - 2024-05-16, 07:01 AM - Forum: Pawn Scripting - Replies (1)

the code i use for turf system 

Code:
forward OnPlayerEnterTurf(playerid, turf);
public OnPlayerEnterTurf(playerid, turf)
{
if(turf != -1)
{
new string[128];
    if(GetPVarInt(playerid, "TurfsTD") == 1)
    {
if(TurfsInfo[turf][TurfsGang] != 255)
{
    new hex, str[32];
    format(str, sizeof(str), "%x", FamilyInfo[TurfsInfo[turf][TurfsGang]][FamilyBandana]);
sscanf(str, "x", hex);
    format(string, sizeof(string), "%s", FamilyInfo[TurfsInfo[turf][TurfsGang]][FamilyName]);
PlayerTextDrawColor(playerid, Textdraw1s[playerid], hex);
    PlayerTextDrawSetString(playerid, Textdraw1s[playerid], string);
    PlayerTextDrawHide(playerid, Textdraw1s[playerid]);
    PlayerTextDrawShow(playerid, Textdraw1s[playerid]);

}
else
{
    PlayerTextDrawSetString(playerid, Textdraw1s[playerid], "Neutral");
PlayerTextDrawColor(playerid, Textdraw1s[playerid], -1);
PlayerTextDrawHide(playerid, Textdraw1s[playerid]);
  PlayerTextDrawShow(playerid, Textdraw1s[playerid]);
}

TextDrawShowForPlayer(playerid, Textdraw0s);
}

if(TurfsInfo[turf][TurfsDoing] == 1)
{
    if(PlayerInfo[playerid][pGang] < 255)
    {
    foreach(Player, i)
    {
        if(InTurf[i] == turf)
        {
            if(PlayerInfo[i][pGang] < 255)
            {
            SetPlayerMarkerForPlayer(playerid, i, FamilyInfo[PlayerInfo[i][pGang]][FamilyBandana];
            pBandana[i] = 1;
}

if(PlayerInfo[i][pFaction] > 0)
{
    SetPlayerMarkerForPlayerEx(playerid, i);
    pBandana[i] = 1;
}

SetPlayerMarkerForPlayer(i, playerid, FamilyInfo[PlayerInfo[playerid][pGang]][FamilyBandana]);
pBandana[playerid] = 1;
}
}
}

if(PlayerInfo[playerid][pFaction] > 0)
{
    foreach(Player, i)
    {
        if(InTurf[i] == turf)
        {
            if(PlayerInfo[i][pGang] < 255)
            {
            SetPlayerMarkerForPlayer(playerid, i, FamilyInfo[PlayerInfo[i][pGang]][FamilyBandana]);
            pBandana[i] = 1;
}

if(PlayerInfo[i][pFaction] > 0)
{
    SetPlayerMarkerForPlayerEx(playerid, i);
    pBandana[i] = 1;
}

SetPlayerMarkerForPlayerEx(i, playerid);
pBandana[playerid] = 1;
}
}
}
}
}
return 1;
}


CMD:captureturf(playerid, params[])
{
    if(InTurf[playerid] == -1) return SCM(playerid, -1, "You are not in any turfs.");
if(PlayerInfo[playerid][pGang] < 255)
{
    if(PlayerInfo[playerid][pRank] >= 4)
    {
    if(TurfsInfo[InTurf[playerid]][TurfsVulnerable] == 0) return SCM(playerid, COLOR_GRAD2, "This turf is not ready to be capped.");

new turf = InTurf[playerid];
new string[128];
new count = GetMembersInTurf(turf, PlayerInfo[playerid][pGang]);

new cops = GetFactionMembersInTurf(turf);

if(TurfsInfo[turf][TurfsgCap] == PlayerInfo[playerid][pGang]) return SCM(playerid, COLOR_GRAD2, "Your gang is already attempting to claim the turf!");
if(count >= 3)
{
    if(cops > 5) return SendClientMessage(playerid, COLOR_GREY, "You can't capture while there are Law Enforcements alive.");
    if(TurfsInfo[turf][TurfsTimer]) KillTimer(TurfsInfo[turf][TurfsTimer]);

        format(string, sizeof(string), "* %s is attempting to take %s for %s (15 minutes).", GetPlayerNameEx(playerid), TurfsInfo[turf][TurfsName], FamilyInfo[PlayerInfo[playerid][pGang]][FamilyName]);
SendClientMessageToAll(COLOR_YELLOW, string);

                TurfsInfo[turf][TurfshTime] = 15;
TurfsInfo[turf][TurfsTimer] = SetTimerEx("TurfCappings", 60000, 1, "id", playerid, turf);
GangZoneFlashForAll(TurfsInfo[turf][TurfID], COLOR_RED);
TurfsInfo[turf][TurfsDoing] = 1;
TurfsInfo[turf][TurfsgCap] = PlayerInfo[playerid][pGang];
format(TurfsInfo[turf][TurfsCappingName], MAX_PLAYER_NAME, "%s", GetPlayerNameEx(playerid));

OnPlayerEnterTurf(playerid, turf);

/*foreach(Player, i)
{
    if(InTurf[i] == InTurf[playerid])
    {
SetPlayerTurfColor(i);
}
}*/
}
else
{
    format(string, sizeof(string), "There must be atleast 3 in your gang inside turf. You only have %d in that turf.", GetMembersInTurf(turf, PlayerInfo[playerid][pGang]));
SCM(playerid, COLOR_GRAD2, string);
}
}
else return SCM(playerid, COLOR_GREY, "You must be atleast R4+ to capture turfs.");
}

if(PlayerInfo[playerid][pFaction] == 1 || PlayerInfo[playerid][pFaction] == 2 || PlayerInfo[playerid][pFaction] == 10)
{
    if(PlayerInfo[playerid][pRank] >= 4)
    {
    if(TurfsInfo[InTurf[playerid]][TurfsVulnerable] == 0) return SCM(playerid, COLOR_GRAD2, "This turf is not ready to be capped.");

new turf = InTurf[playerid];
new string[128];

new cappers = GetAGangMembersInTurf(turf, TurfsInfo[turf][TurfsgCap]);

new count = GetFactionMembersInTurf(turf);

if(TurfsInfo[turf][TurfsgCap] == 256) return SCM(playerid, COLOR_GRAD2, "Law Enforcement is already claiming the turf!");
if(count >= 5)
{
    if(cappers > 3) return SendClientMessage(playerid, COLOR_GREY, "You can't capture while there are Gang Members alive.");
    if(TurfsInfo[turf][TurfsTimer]) KillTimer(TurfsInfo[turf][TurfsTimer]);

        format(string, sizeof(string), "* %s is attempting to take %s for Law Enforcement (15 minutes).", GetPlayerNameEx(playerid), TurfsInfo[turf][TurfsName]);
SendClientMessageToAll(COLOR_YELLOW, string);

                TurfsInfo[turf][TurfshTime] = 15;
TurfsInfo[turf][TurfsTimer] = SetTimerEx("TurfCappingss", 60000, 1, "id", playerid, turf);
GangZoneFlashForAll(TurfsInfo[turf][TurfID], COLOR_RED);
TurfsInfo[turf][TurfsDoing] = 1;
TurfsInfo[turf][TurfsgCap] = 256;
format(TurfsInfo[turf][TurfsCappingName], MAX_PLAYER_NAME, "%s", GetPlayerNameEx(playerid));
OnPlayerEnterTurf(playerid, turf);

  /*foreach(Player, i)
{
    if(InTurf[i] == InTurf[playerid])
    {
SetPlayerTurfColor(i);
}
}*/
}
else
{
    format(string, sizeof(string), "There must be atleast 5 in your members inside turf. You only have %d in that turf.", GetFactionMembersInTurf(turf));
SCM(playerid, COLOR_GRAD2, string);
}
}
else return SCM(playerid, COLOR_GREY, "You must be atleast R4+ to capture turfs.");
}
return 1;
}


the error I'm encountering
Code:
C:\Users\User\Desktop\rsrp\gamemodes\RSG.pwn(36022) : error 001: expected token: ",", but found ";"
C:\Users\User\Desktop\rsrp\gamemodes\RSG.pwn(36023) : error 028: invalid subscript (not an array or too many subscripts): "pBandana"
C:\Users\User\Desktop\rsrp\gamemodes\RSG.pwn(36023) : warning 215: expression has no effect
C:\Users\User\Desktop\rsrp\gamemodes\RSG.pwn(36023) : error 001: expected token: ";", but found "]"
C:\Users\User\Desktop\rsrp\gamemodes\RSG.pwn(36023) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\rsrp\gamemodes\RSG.pwn(36023) : fatal error 107: too many error messages on one line


this line: if(TurfsInfo[turf][TurfsDoing] == 1)
{
    if(PlayerInfo[playerid][pGang] < 255)
    {
    foreach(Player, i)
    {
        if(InTurf[i] == turf)
        {
            if(PlayerInfo[i][pGang] < 255)
            {
            SetPlayerMarkerForPlayer(playerid, i, FamilyInfo[PlayerInfo[i][pGang]][FamilyBandana];
            pBandana[i] = 1;
}


  HELP WITH THIS ERROR
Posted by: dalywow - 2024-05-15, 04:38 PM - Forum: Support - No Replies

Anyone knows how to delete this error?



AMX (43790376) loaded
  Error: Function not registered: 'Now'
  Error: Function not registered: 'TimeFormat'


  Convert from Samp to OpenMP
Posted by: JR_Junior - 2024-05-11, 11:18 PM - Forum: Questions and Suggestions - Replies (2)

Hello! It would be interesting if a developer or someone with more knowledge created a tutorial on how to convert your entire server to OpenMP.

We know that Samp is gone and is very outdated, but we also know that most of the existing servers were created for Samp and many are very large, which means that the work to convert would be tiring.

I don't know if this conversion can be done yet, I don't know if we should wait a little longer. I just believe there will come a time when we will all be forced to convert.

It would be great to have some instructions to start this process! Thanks!


  ban appeal for discord
Posted by: xz.metallica - 2024-05-11, 03:58 PM - Forum: Chat - No Replies

apparently beckzy got a bit too personal and banned me off your discord without actually violating any of your rules or terms. not sure what imagine this creates for your staff members, but it’s really unprofessionally done by him as he can’t seem to control personal anger.

where do i post my unban?


  timestamp include - i need help
Posted by: justcroatiansamper - 2024-05-10, 02:29 PM - Forum: Pawn Scripting - Replies (1)

Hello, how would it be best to implement timestamp include in this situation? 


Code:
stock CreateLog(FileName[], string[])[/color]
{

    new logstring[256];

    new hour, minute, second, day, month, year;

    gettime(hour, minute, second);

    getdate(day, month, year);

    format(logstring, 256, "[%d.%d.%d - %d:%d:%d] %s\r\n", hour, minute, second, day, month, year, string);

    new File:hFile;

    hFile = fopen(FileName, io_append);

    fwrite(hFile, logstring);

    fclose(hFile);

    return 1;
[color=#000000]}



Link of timestamp:
https://github.com/Agneese-Saini/SA-MP/b...estamp.inc


Thanks :)


  [English] Tierra Robada Roleplay
Posted by: Vicee - 2024-05-06, 08:57 PM - Forum: Advertisements - Replies (3)

Tierra Robada Roleplay is a Grand Theft Auto San Andreas Multiplayer Heavy Roleplay server located in the County of Tierra Robada, the State of San Andreas, primarily the Town of Bayside, El Quebrados, and its surroundings. This is a community where you have a chance to prosper and become what you have always imagined, of course, success comes with work and effort. The community offers you a wide range of opportunities. We invite you to join us today and to invite your friends to experience the charms of roleplay.

Discord: https://discord.gg/66hxDpCd6g

https://www.youtube.com/watch?v=buTu3vhTiEs&t

https://streamable.com/68elit
People who wish to start playing San Andreas Multiplayer and are in need of help, freely join our discord and send us a message, there is always someone to help our players out!



[Image: UH5oOUg.jpg]
[Image: GhmDbsj.jpg]
[Image: siJIQNQ.jpg]
[Image: xm058dO.jpg]
[Image: agMcHK5.jpg]
[Image: 5Rjq1rN.jpg]
[Image: YIACtFY.jpg]
[Image: YlXL3w7.jpg]
[Image: OZhIBkz.jpg]
[Image: 5Xbl605.jpg]
[Image: Yy5Cbzu.jpg]
[Image: COK04K6.jpg]
[Image: o5Uq5vT.jpg]