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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,532
» Latest member: aaravingram
» Forum threads: 2,236
» Forum posts: 12,038

Full Statistics

Online Users
There are currently 557 online users.
» 0 Member(s) | 554 Guest(s)
Google, Bing, Yandex

Latest Threads
A nod to biggest projects
Forum: Questions and Suggestions
Last Post: Himmenting
2 hours ago
» Replies: 0
» Views: 4
Open Roleplay - (Christma...
Forum: Advertisements
Last Post: thebust3rs
2024-11-28, 02:27 PM
» Replies: 0
» Views: 37
White Screen
Forum: Support
Last Post: trinoctial
2024-11-28, 08:25 AM
» Replies: 1
» Views: 71
Open MP shutting down aft...
Forum: Support
Last Post: trinoctial
2024-11-28, 08:22 AM
» Replies: 1
» Views: 203
SAMP Custom weapon script
Forum: Filterscripts
Last Post: vodanghoang1999
2024-11-28, 07:13 AM
» Replies: 0
» Views: 27
Command does not work in-...
Forum: Pawn Scripting
Last Post: PANZEHIR_
2024-11-23, 06:36 PM
» Replies: 0
» Views: 62
I get error 021 using y_h...
Forum: Pawn Scripting
Last Post: daniscript18
2024-11-18, 11:34 PM
» Replies: 0
» Views: 71
Il reste des français sur...
Forum: French/Fran?ais
Last Post: tysanio
2024-11-18, 05:39 AM
» Replies: 2
» Views: 495
Object creation issues
Forum: Programming
Last Post: K1271
2024-11-15, 11:51 PM
» Replies: 0
» Views: 69
Is the SAMP Hosting the s...
Forum: General Discussions
Last Post: OperaGX
2024-11-14, 09:33 PM
» Replies: 0
» Views: 93

 
  ?????? ?? ?????? ????-????????????
Posted by: ApostolDMITRY - 2020-11-05, 07:38 PM - Forum: Russian/??????? - Replies (2)

? ????? ???? ??????, ????? ??? ?????? ?? ?????. ???? ??????, ? ????? ?? ????-???????????? ? ?????? ?????????? ?? ???. ?????? ? ??? ?????????? ????? ??? ? ????? ?? ???????? ??????????? ????? ????????? ?? ????? ???? ?? ?????, ??????? ????? ????? ??????? ?????????? ????? ? ??.
?? ?????? ?????? ????? ????????? ???????? ??????? ???? ? ?????, ??? ?????? ? ?????? ?????????????? ??????. ?? ? ??????? ??????? ????? ?????.

? ??? ?? ?????? ??????. ?????? ?? open.mp ???????? ?? 64 ?????? ??????? ??? ?????????? 32 ??????.
?????? ??????, ????? ?? ????? ???? ????, ? ????? ?? ?? ??????!


  Problema con un warning.
Posted by: nittro - 2020-11-05, 04:31 PM - Forum: Programaci?n - Replies (2)

?Que quiere decir este warning?



PHP Code:
warning 235: public function lacks forward declaration (symbol "GuardarCuentas"



C?digo.
PHP Code:
public GuardarCuentas()

{

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

{

if(
IsPlayerConnected(i))

{

GuardarCuenta(i);

}

}

return 
1;



Exclamation Help with race
Posted by: FeNiixX - 2020-11-05, 07:30 AM - Forum: Pawn Scripting - Replies (8)

Hello everyone, I have the following question ...



How can I achieve that if a player types /enter and if a race is already in progress that the player is put in spectator mode of some user who is in the current race and if he presses enter, specifies another user and so on until that the current race ends and he enters the race ...



The other thing is that if there is no race in progress and the user types /enter the race start and the user enters the race automatically ...





Thanks


  Server crash (INI_AddToBuffer) and Packet was modified problem
Posted by: Godfather - 2020-11-04, 08:58 PM - Forum: Pawn Scripting - No Replies

I have this on online linux server and I'm getting errors for local files which is strange.

I guess he is trying to find .ini file of the user on?OnPlayerDisconnect but fails to process it somehow.

Code:
[debug] Server crashed while executing script.amx
[debug] AMX backtrace:
[debug] #0 00000035 in INI_AddToBuffer (INI:file=52, name[]=@00000000 "", data[]=@01d43894 "0000001600676554") at <unknown file>:0
[debug] #1 000147f0 in ?? (... <13 arguments>) at C:\Users\test\Desktop\sampserver\pawno\include\YSI\y_ini.inc:1076
[debug] #2 00000035 in public OnPlayerDisconnect () at <unknown file>:0


Also other problem that I have sometimes on other server is people get reconnected. Here is an example of the log:

Code:
Packet was modified, sent by id: *id*, ip: *ip*


  I get problem on interior ...
Posted by: DaZzY - 2020-11-04, 02:12 PM - Forum: Pawn Scripting - Replies (1)

Helloo

I get problem when player is on some interiors when he touch AIM he spawn to another place?

And i don't have touch OnPlayerKeys... or any keys script ...


  [balkan] Ultimate 2020 - Full MySQL R39-6
Posted by: Saco - 2020-11-04, 04:09 AM - Forum: Gamemodes - Replies (10)

Introduction

Gamemode is fully ex-yu language.

If you don't understand something feel free to contact me.


Images

https://imgur.com/a/NA2ohfN


Download source

https://github.com/Sacobrt/ultimate



Enjoy!


  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 .