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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,961
» Latest member: walid_dz
» Forum threads: 2,412
» Forum posts: 12,332

Full Statistics

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

Latest Threads
Open Multiplayer ✅ loggin...
Forum: Pawn Scripting
Last Post: walid_dz
1 hour ago
» Replies: 0
» Views: 6
Argonath RPG SA:MP Reviva...
Forum: Advertisements
Last Post: Melon_Sam
2026-03-03, 06:37 PM
» Replies: 1
» Views: 92
RevolutionX DM/Stunt/Race...
Forum: Advertisements
Last Post: DerekZ905
2026-03-02, 02:46 PM
» Replies: 0
» Views: 47
Consulta warning mismatch...
Forum: Programaci?n
Last Post: carlosmcgrimes
2026-03-01, 04:26 PM
» Replies: 1
» Views: 129
Streamer Plugin v3.0.0 — ...
Forum: Plugins
Last Post: carlosmcgrimes
2026-03-01, 02:15 PM
» Replies: 0
» Views: 77
MAP Hot Loader / Map Mana...
Forum: Libraries
Last Post: selmir.beha
2026-02-28, 05:13 AM
» Replies: 0
» Views: 54
[Request] Linko Gaming Ro...
Forum: General Discussions
Last Post: lyly19
2026-02-25, 04:30 AM
» Replies: 1
» Views: 738
IPv6 support
Forum: Questions and Suggestions
Last Post: Knogle
2026-02-22, 01:16 PM
» Replies: 2
» Views: 218
GTA San Andreas - The mov...
Forum: Chat
Last Post: NoxxeR
2026-02-20, 12:14 AM
» Replies: 0
» Views: 158
Servidor RP
Forum: Portuguese/Portugu?s
Last Post: GhostSpectre
2026-02-18, 11:10 PM
» Replies: 0
» Views: 115

 
Exclamation Help with easyDialog and samp-stdlib
Posted by: dwp12345 - 2020-11-07, 03:14 AM - Forum: Pawn Scripting - Replies (1)

That give me warning even complile .?warning 203: symbol is never used: "SAMP_INCLUDES_VERSION"


  How to save message with custom color to database?
Posted by: Zow - 2020-11-06, 06:04 PM - Forum: Pawn Scripting - Replies (7)

PHP Code:
CMD:save(playeridparams[])
{
? ? new 
message[100];
? ? 
sscanf(params"s[100]"message);
? ? 
format(PlayerInfo[playerid][pMessage], 100message);
    
SaveMessage(playerid);
? ? return 
1;
}
CMD:show(playeridparams[])
{
? ? new 
string[100];
? ? if (!
strcmp(PlayerInfo[playerid][pMessage], "None"true))
? ? ? ? ?return 
SendClientMessage(playeridCOLOR_YELLOW"No message");

? ? 
format(stringsizeof string"%s"PlayerInfo[playerid][pMessage]);
? ? 
SendClientMessage(playeridCOLOR_WHITEstring);
? ? return 
1;
}
SaveMessage(playerid)
{
    new 
query[256];
    
mysql_format(dbConquerysizeof(query), "UPDATE `players` SET `MessageText` = '%e' WHERE `ID` = '%d'",
    
PlayerInfo[playerid][pMessage],
    
PlayerInfo[playerid][pSQLID]);
    
mysql_tquery(dbConquery);
    return 
1;


/save {F60000}Message {FFFFFF}Message
But its only save Message?Message?
This is what I want
[Image: unknown.png]


Heart Noob| Hey.
Posted by: Bowner96 - 2020-11-06, 02:42 PM - Forum: General Discussions - Replies (3)

Hey there guys.





So i just got back to PC after a while, i always wanted my SAMP server, now that i have the 'tools' to do so i wanna learn basic scripting and go from there.



Now i know SAMP isnt active as much and isnt 'worth' it, i know. I just wanna learn basic scripting,?test and have fun with my ideas.



I saw this post?and it was very helpfull but i have some questions left. I saw SAMP forums are closed down so even if i see some guides ( thanks to?https://web.archive.org/ ) i cant ask questions or get my help over there.



I dont have any specific questions but i wanna ask if anyone got the time and the patience to help fella noob around ill be thankfull.?



Some questions in mind:



? Can i put all my maps in FilterScript and then load it to the server/gamemode? If so then how? (Please explaing like the noob i am.)

? How do i create dialog?

? ?? Do dialogs can open to other styles of dialog?

? ?? How do i create simple 'Missions' system with dialogs? (Go from checkpoint A to checkpoint B, so on and so on..)

? ?? How i create vehicle spawner with dialog?

? How i give players objects? (Boxes, Wood logs and even a screwdriver)

? How do i create pickup?

? And so many more.



Im looking for dude how can answer my random question with out getting annoyed by my noob lvl. Thanks in advance.



Discord?:?bowner96#5052


  LSRP Players
Posted by: DamjanLOL - 2020-11-06, 01:53 PM - Forum: General Discussions - No Replies

Dear LSRP players.

If you don't play LSRP anymore & you don't plan to return, can you please contact me here via PM?

I'm just looking for some people who have cars/money in LSRP that is willing to gift me their stuff lol :D


  Indonesia Sub Forum
Posted by: Tama - 2020-11-06, 07:42 AM - Forum: Other - No Replies

Karena gak ada yang serius, mari aku buat disini.

Rules simple, share apa yang kamu punya, diskusi apa yang kamu mau, share kode, dll.



Don't be a dick, be respectful to other people.

Ok that's?it, enjoy.


  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.


  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*