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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,957
» Latest member: ayoubdridi535
» Forum threads: 2,410
» Forum posts: 12,329

Full Statistics

Online Users
There are currently 213 online users.
» 1 Member(s) | 208 Guest(s)
Google, Bing, Yandex, Applebot, ayoubdridi535

Latest Threads
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
Yesterday, 02:46 PM
» Replies: 0
» Views: 28
Consulta warning mismatch...
Forum: Programaci?n
Last Post: carlosmcgrimes
2026-03-01, 04:26 PM
» Replies: 1
» Views: 118
Streamer Plugin v3.0.0 — ...
Forum: Plugins
Last Post: carlosmcgrimes
2026-03-01, 02:15 PM
» Replies: 0
» Views: 55
MAP Hot Loader / Map Mana...
Forum: Libraries
Last Post: selmir.beha
2026-02-28, 05:13 AM
» Replies: 0
» Views: 49
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: lyly19
2026-02-25, 04:30 AM
» Replies: 1
» Views: 724
IPv6 support
Forum: Questions and Suggestions
Last Post: Knogle
2026-02-22, 01:16 PM
» Replies: 2
» Views: 209
GTA San Andreas - The mov...
Forum: Chat
Last Post: NoxxeR
2026-02-20, 12:14 AM
» Replies: 0
» Views: 143
Servidor RP
Forum: Portuguese/Portugu?s
Last Post: GhostSpectre
2026-02-18, 11:10 PM
» Replies: 0
» Views: 110
(PC/Mobil) PrimeTurk CnR ...
Forum: Advertisements
Last Post: Shacous
2026-02-12, 04:08 PM
» Replies: 0
» Views: 111
(PC/Mobil) PrimeTurk CnR ...
Forum: Turkish
Last Post: Shacous
2026-02-12, 04:04 PM
» Replies: 0
» Views: 81

 
  Kyosaur's Plugin Development Guide
Posted by: Bee - 2020-11-03, 06:19 PM - Forum: Tutorials - Replies (1)

Hey everyone,



I recently started learning about plugin development for SA:MP. I asked around for a good tutorial and a super awesome guy in Discord suggested me to take a look at Kyosaur's Plugin Development Guide. I read it and it is pretty amazing. He also suggested that someone should port over the guide to burgershot.gg. So here it is.



View in Github



Is it exactly the same?



The content is 99.9% same. 99.9% because some threads were removed and I couldn't link it. It was broken even in the original post. I updated the existing links and made some formatting changes while converting it into Markdown.



Why is it in Markdown?



I tried use the BB Code in Burgershot. It was messed up and insanely buggy. I kept losing content and had to start over again and again. Also, Why not in Markdown?


  Discord Connector invalid message author.
Posted by: XeroX - 2020-11-03, 04:47 PM - Forum: Pawn Scripting - Replies (4)

Hi,



it's been sometime since I last scritped for sa-mp. Anyway my problem is that DCC_GetMessageAuthor returns an invalid user and I'm not entirely sure why.

Plugin version is 0.3.3



PHP Code:
public DCC_OnMessageCreate(DCC_Message:message)

{

    new 
DCC_Channel:msgChannel;

    
DCC_GetMessageChannel(messagemsgChannel);



    new 
channelName[128];

    
DCC_GetChannelName(msgChannelchannelNamesizeof(channelName));



    
printf("channelName: %s"channelName);

    if(
strcmp(channelName"sa-mp"true5) == 0)

    {

        new 
DCC_User:author;

        
DCC_GetMessageAuthor(messageauthor); // This always fails



        
if(author == DCC_INVALID_USER)

        {

            print(
"Invalid User");

            return;

        }

        

        new 
bool:IsBotbool:IsVerified;

        
DCC_IsUserBot(authorIsBot);

        
DCC_IsUserVerified(authorIsVerified);

        

        new 
authorName[DCC_USERNAME_SIZE];

        
DCC_GetUserName(authorauthorNamesizeof(authorName));



        
printf("Author: %s | IsBot: %d | IsVerified: %d"authorNameIsBotIsVerified );



        if(!
IsBot && IsVerified)

        {

            new 
string[128];

            new 
authorMessage[128];

            
DCC_GetMessageContent(messageauthorMessagesizeof(authorMessage));

            

            
format(stringsizeof(string), "[Discord/%s]: %s"authorNameauthorMessage);

            
SendClientMessageToAll(0x00C7FFAAstring);

        }

    }



  OnServerCrashes callback?
Posted by: Turk - 2020-11-03, 01:32 PM - Forum: Pawn Scripting - Replies (1)

Hello, OnGameModeExit callback note says that: (This callback will NOT be called if the server crashes or the process is killed by other means?pressing the close-button on the Windows console.) So how can I detect when server is crashes or has been killed? Is there a callback like?OnGamemodeCrashes or smth like that?


Exclamation Help with SelectTextDraw
Posted by: dwp12345 - 2020-11-03, 02:20 AM - Forum: Pawn Scripting - Replies (2)

When i press ESC while?SelectTextDraw on going, it's still showing text draw but i cant select .


  Kirtaner IAMA
Posted by: Pinch - 2020-11-02, 10:44 PM - Forum: Chat - Replies (1)

https://www.reddit.com/r/IAmA/comments/j...urce=share



Interesting as fucc, np


  Searching Advisor
Posted by: Palps - 2020-11-02, 10:14 PM - Forum: Chat - Replies (3)

Hey,



so I developed a server since June, its very unique



and of course selfmade. The only problem is, I really



dont know how to promote it nowadays.



Since the samp forum is down, there is a lack of advertisment-platforms.



Please contact me, if youre experienced in this area.



Discord: Tec9#3343

Server showoff: discord.gg/b28JTaC



Sincerly,



Palps



[Image: DDyJcD2.png]


  SKy Compatibility
Posted by: Grate Maharlika - 2020-11-02, 05:45 PM - Forum: Pawn Scripting - No Replies

Somebody told me that the error I am facing in my SKY plugin is MSVC dll, but I don't know which one? Can you give me an specific .dll of MSVC or links? I am using Windows.


  dialog show problem
Posted by: byxtonim - 2020-11-02, 10:42 AM - Forum: Pawn Scripting - No Replies

[color=rgb( var(--theme-link) )]https://imgur.com/a/S2Bfb3f[/color]

why the dialog isn't show properly?



/matches



Code:
CMD:matches(playerid, params[])

{

if(!IsPlayerInRangeOfPoint(playerid, 50.0, 834.6208,7.6082,1004.1870)) return SCM(playerid, -1, "Nu esti la locul potrivit!");

new szDialog[128], szDialog2[580];

strcat(szDialog2, "STATUS - TEAMS\t1\tX\t2\n");

for(new i = 0; i < 6; i)

{

teamPrize(i);

format(szDialog, sizeof(szDialog), "{fff000}{fff000}[STARTING IN %d]{ffffff} - %s vs %s\t%d.0\t%d.0\t%d.0\n", startMatchTime[i], firstTeam(i), secondTeam(i), teamPlayerPrize1[i], teamPlayerPrize2[i], teamPlayerPrize3[i]);

strcat(szDialog2, szDialog);

}

ShowPlayerDialog(playerid, DIALOG_BET, DIALOG_STYLE_TABLIST_HEADERS, "Football Matches - Betting", szDialog2, "Select", "Cancel");



return 1;

}





FIRSTTEAM, SECONDTEAM

Code:
function firstTeam(team)

{

new string[128];

switch(team)

{

case 1: string = "FC Gilau West";

case 2: string = "CFR Cluj";

case 3: string = "Barcelona";

case 4: string = "Everton";

case 5: string = "Werder Bremen";

case 6: string = "Hoffenheim";

}

return 1;

}

function secondTeam(team)

{

new string[128];

switch(team)

{

case 1: string = "FC Targu Neamt";

case 2: string = "FC Botosani";

case 3: string = "Real Madrid";

case 4: string = "Manchester City";

case 5: string = "B. Monchengladbach";

case 6: string = "Augsburg";

}

return 1;

}





startmatchtime



Code:
[color=#353c41][size=small][font=monospace, monospace][color=#000000]function resetTeamTimer(team)



{

?? ?new timp = 60  random(60);

?? ?startMatchTime[team] = timp;?

?? ?return 1;

}[/color][/font][/size][/color]


Information Help with mysql and data retrieving.
Posted by: cronoxliker - 2020-11-02, 09:57 AM - Forum: Pawn Scripting - Replies (10)

Hey guys, Im building a gamemode mostly for learning, but i got stuck in faction systems y was following a tutorial but was on an old version and im having struggle getting it done, if someone can explainme what im doing wrong here...



Code:
stock LoadFactions(/* arguments */)

{

new query[400];

for(new i = 0; i < MAX_FACTIONS; i)

{

mysql_tquery(query, "SELECT * FROM Factions WHERE ID = %d", i);

new rows, fields;

cache_get_data(rows, fields);

if(rows)

{

Total_Factions_Created;

cache_get_value_int(0,"id",Factions[i][ID]);

cache_get_value_name(0,"name",Factions[i][Name]);

cache_get_value_name(0,"type",Factions[i][Type]);

cache_get_value_name(0,"Rank1",Factions[i][Rank1]);

cache_get_value_name(0,"Rank2",Factions[i][Rank2]);

cache_get_value_name(0,"Rank3",Factions[i][Rank3]);

cache_get_value_name(0,"Rank1",Factions[i][Rank4]);

}

printf("se cargaron: %d facciones\n", Total_Factions_Created);

}

return 1;

}


  Amx Backtrace error
Posted by: yukie - 2020-11-02, 06:51 AM - Forum: Pawn Scripting - Replies (1)

Hello everyone Im try to run a server using mysql r5 and everytime im joining the game it went crashing and the error was the OnFilterScriptExit on gamemode but it doesnt have that callback on my gamemode how do I fix this error??