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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,672
» Latest member: swt_nazare
» Forum threads: 2,348
» Forum posts: 12,291

Full Statistics

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

Latest Threads
🌄Project: Country Side (B...
Forum: Advertisements
Last Post: DevonH
Yesterday, 01:54 PM
» Replies: 2
» Views: 439
Adding new vehicles and s...
Forum: Support
Last Post: roseblack
Yesterday, 01:57 AM
» Replies: 3
» Views: 843
MiniGame [Dropper] SA-MP
Forum: Videos and Screenshots
Last Post: Crazy_ArKzX
2025-11-07, 12:20 PM
» Replies: 0
» Views: 28
How to Complete “Keeping ...
Forum: Questions and Suggestions
Last Post: rodeon
2025-11-06, 07:26 AM
» Replies: 0
» Views: 54
Ultimate Roleplay!!
Forum: Advertisements
Last Post: URP_Wrzosek
2025-11-03, 09:43 AM
» Replies: 2
» Views: 113
samp openmp scripts
Forum: German/Deutsch
Last Post: pauli
2025-11-01, 01:21 AM
» Replies: 0
» Views: 88
YGG-Reborn
Forum: Advertisements
Last Post: Mw10
2025-10-31, 08:12 AM
» Replies: 0
» Views: 82
[GameMode] Brasil Vida Id...
Forum: Portuguese/Portugu?s
Last Post: Brasil Vida Ideal
2025-10-31, 01:12 AM
» Replies: 0
» Views: 79
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
2025-10-30, 10:00 AM
» Replies: 0
» Views: 75
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,640

 
  samp-cctv | Create CCTV with one line! Monitor everything.
Posted by: Mergevos - 2020-11-05, 11:05 PM - Forum: Libraries - Replies (4)

samp-cctv



This library allows you to create CCTV. CCTV stands for closed-circuit television.?



Usage



Code:
CCTV_Create(Float: x, Float: y,? Float: z, Float: rotX, Float: rotY, Float: rotZ, Float: lookX, Float: lookY, Float: lookZ, virtualworld, interiorid)[/align]

[align=center]CCTV_Destroy(cctvid)[/align]

[align=center]CCTV_Watch(playerid, cctvid)[/align]

[align=center]CCTV_Unwatch(playerid, cctvid)

I think the names of these functions are self-explanatory. You either create, watch, destroy or unwatch a specific CCTV.?

For more info, check github.

Installation

Of course, use the modern standards

Code:
sampctl p install Mergevos/samp-cctv[/align]

[align=center]

Then include it
Code:
cctv.inc
and start using library.

Images

[Image: 5RcrewK.jpg]


  Dynamic storage containers
Posted by: EvilShadeZ - 2020-11-05, 08:57 PM - Forum: Questions and Suggestions - Replies (3)

I would like for some kind of dynamic storage container to be implemented such as list. This would be especially beneficial now that we have removed limits for various entity types. It would be quite ridiculous defining enormous arrays to keep track of things.



I imagine it working something similar to how y_iterate was implemented.



Code:
new List:list = List_New();

List_Add(list,value);

List_Remove(list,value);

List_Delete(list);

List_Clear(list);

List_Random(list);

List_Next(...);??

List_Previous(...);

etc...





If different data types could be supported it would be a plus, but integers would be a great start.


  ?????? ?? ?????? ????-????????????
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);

        }

    }