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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,050
» Latest member: kourtneyroberts
» Forum threads: 2,353
» Forum posts: 12,242

Full Statistics

Online Users
There are currently 280 online users.
» 0 Member(s) | 278 Guest(s)
Bing, Google

Latest Threads
FPS issues
Forum: General Discussions
Last Post: kourtneyroberts
6 hours ago
» Replies: 0
» Views: 8
How to make your GTA SA:M...
Forum: Tutorials
Last Post: NoxxeR
Yesterday, 11:26 AM
» Replies: 1
» Views: 54
Problem about pawnbot
Forum: Pawn Scripting
Last Post: balkanspeed18
2025-04-26, 02:04 PM
» Replies: 0
» Views: 31
Error
Forum: Pawn Scripting
Last Post: -N0FeaR-
2025-04-25, 12:05 PM
» Replies: 0
» Views: 30
GTA Multigames [ MultiMod...
Forum: Advertisements
Last Post: Undead
2025-04-25, 07:37 AM
» Replies: 0
» Views: 45
Atlanta DeathMatch
Forum: Advertisements
Last Post: NixaSha
2025-04-25, 01:19 AM
» Replies: 0
» Views: 34
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-23, 07:10 PM
» Replies: 2
» Views: 428
black screen
Forum: Support
Last Post: geppetog
2025-04-23, 05:34 PM
» Replies: 0
» Views: 45
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2025-04-22, 06:42 PM
» Replies: 0
» Views: 65
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-22, 02:22 PM
» Replies: 4
» Views: 202

 
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.


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