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,241

Full Statistics

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

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

 
  How can i embed color in Textdraw?
Posted by: Cada - 2020-11-14, 07:59 AM - Forum: General Discussions - Replies (3)

Hello.



I want to make Textdraw with couple of colors.

I know that i can make it like " Oh!?~r~Hello ~w~World" but i can`t " Oh! {FF0000}Hello {FFFFFF}World".

i want to embed hex color. can i do it?



Finally, i want to make textdraw based on gray, and make some color red.

Ex) {Gray}Oh!! Hey, {Red}How {Gray}are you?



Plz help me!!


  Server crash and i don't know why
Posted by: Rocko Schultz - 2020-11-13, 11:44 PM - Forum: Pawn Scripting - Replies (2)

Hello, I have a Roleplay server in Spanish and when you do things in the game, the server crashes randomly leaving an error, here it is





Code:
[18:07:24] [cmd] [Martin Torres]: /me escribe su nombre en la computadora

[18:07:26] [cmd] [Kerderius Nash]: /robarcaja

[18:07:27] [cmd] [Kurtis Mcclain]: /b vamo a josiar oe

[18:07:32] [chat] [Qualeek_Raid]: Mi error

[18:07:33] [cmd] [Kerderius Nash]: /b necesito habilidad XD

[18:07:35] [chat] [Martin_Torres]: Que paso

[18:07:37] [debug] Server crashed while executing roleplay.amx

[18:07:37] [debug] AMX backtrace:

[18:07:37] [debug] #0 00000037 in ?? (51, 0, 29782696) from roleplay.amx

[18:07:37] [debug] #1 0001a72c in ?? (51, 0, 1605308713, 82, 111, 112, 97, 95, 65, 114, ... <2 arguments>) from roleplay.amx

[18:07:37] [debug] #2 00000037 in public OnPlayerKeyStateChange () from roleplay.amx





Sorry for my bad English I'm from Uruguay, so I don't speak it very well


  Medieval world in SAMP?
Posted by: Ryder Sixz - 2020-11-12, 12:39 PM - Forum: General Discussions - Replies (4)

Well, I've been in samp for about 6 years and since I have seen many types of servers, including one where the theme was medieval, the server is called Port Royale (it is in the Hispanic community) the fact is that they have been developing Gm for about 2 years and Not yet out. The server used the now non-existent version 0.3DL of the now almost dead SA: MP platform so I think the project failed (I would know about it but they banned me from its discord :P) So the intention of this post is to ask If doing something like this is possible, medieval cities, maps with such themes, horses, and everything you need to create something like that. I'm too interested in your opinion.


  [LINUX][ASK]C?mo instalar gta sa en ArchLinux
Posted by: DanielFz - 2020-11-12, 01:19 AM - Forum: Discusi?n GTA SA Multijugador - No Replies

Buenos d?as, tardes o noches, recientemente instale ArchLinux, y me encontr? con el dilema de c?mo instalar gta sa, obviamente ya instale el Wine, y todo eso, pero, da crash cuando intento ejecutarlo, y me interesar?a saber si alguno de ustedes tiene el ArchLinux y tiene el gta, y c?mo lo hizo, gracias por leer y hasta pronto.

(Si necesitan ayuda respecto a ArchLinux puedo ayudarlos, no soy el master archlinux, pero me defiendo.)


  Incompatibility with the JunkBuster
Posted by: Ryder Sixz - 2020-11-11, 10:22 PM - Forum: Pawn Scripting - Replies (5)

Hello it's me again, I asked about error 25 when placing a new include, well the fact is that after trying many things, I found out that the problem is that being the JunkBuster include throws these 2 errors.?



Code:
\pawno\include\3DTryg.inc(1846) : error 025: function heading differs from prototype

\pawno\include\3DTryg.inc(1846) : error 021: symbol already defined: "JBC_GetPlayerSpeed"



If I remove the JunkBuster it compiles perfectly.



Is there a solution for this problem? the include I am trying to install is the 3DTryg to add new functions. Sorry for the inconvenience and thanks in advance.


  How to make clock system?
Posted by: Turk - 2020-11-11, 05:56 PM - Forum: Pawn Scripting - Replies (3)

Hello, is there any samp clock filterscript or something? Maybie anyone could give an idea how to make it? I'm looking for basic real time clock with textdraws and changing weather.


  Error 025: function heading differs from prototype
Posted by: Ryder Sixz - 2020-11-11, 05:07 PM - Forum: Pawn Scripting - Replies (4)

Hello everyone! well I have a problem when adding a new include to my GameMode and it is that when compiling it throws me this error:??



Code:
\pawno\include\3DTryg.inc (1846): error 025: function heading differs from prototype

\pawno\include\3DTryg.inc(1846): error 021: symbol already defined: "JBC_GetPlayerSpeed"



The include adds new useful functions. And I have it below all the includes at the beginning of the code. Well, I would really appreciate knowing what I have to do to solve this problem. Greetings to all :D


  samp-logging | Log gamemode
Posted by: Mergevos - 2020-11-11, 03:27 PM - Forum: Libraries - Replies (1)

This library allow you to use few functions to log your gamemode.

Installation

Simply install to your project:

Code:
[/align]

[align=center]sampctl package install Mergevos/samp-logging[/align]

[align=center]

Include in your code and begin using the library:

Code:
[/align]

[align=center]#include <logging>[/align]

[align=center]

Important note

It does need a latest version of the community compiler. You can download it from here: https://github.com/pawn-lang/compiler

Usage

There're 4 functions. Since the last version has had params for line and file name, this one doesn't.

File and line are now automatically detected and it returns the full path to the file and line number.

This function logs an debug message.

Code:
[/align]

[align=center]Log_Debug(const handle[], const message[], Logging_Fields: ...)[/align]

[align=center]handle[] - Debug handle[/align]

[align=center]message[] - Text to log[/align]

[align=center]... - Other arguments (fields)[/align]

[align=center]

This function logs a fatal error. It ends server after being executed.

Code:
[/align]

[align=center]Log_Fatal(const handle[], const message[], Logging_Fields: ...)[/align]

[align=center]

This function logs a verbose message. It outputs amx backtrace via crashdetect.

Code:
[/align]

[align=center]Log_Verbose(const handle[], const message[], Logging_Fields: ...)[/align]

[align=center]

This function logs an info message.

Code:
[/align]

[align=center]Log_Info(const handle[], const message[], Logging_Fields: ...)[/align]

[align=center]

This function logs an error message.

Code:
[/align]

[align=center]Log_Error(const handle[], const message[], Logging_Fields: ...)[/align]

[align=center]

This function logs an usage message.

Code:
[/align]

[align=center]Log_Usage(const handle[], const message[], Logging_Fields: ...)[/align]

[align=center]

Testing

To test, configure pawn.json and simply run the package:

Code:
[/align]

[align=center]sampctl package run[/align]

[align=center]


  Acks limit
Posted by: Lorenzo - 2020-11-11, 02:40 PM - Forum: Pawn Scripting - No Replies

Hi, I'm trying to understand more about this topic because I can't find anything online.

Sometimes after death only for some players happens that they being banned for reaching the acks limit of 5000/sec. But it's not a deterministic thing and happens randomly. I tried testing?to?figuring out the problem but nothing.?

There is something to avoid inside the OnPlayerSpawn or OnPlayerDeath callbacks? Or could be also related to a server network issue because I'm using a very cheap VPS with low specs?

I'm using the 0.3DL with a lot of models and maps loaded, I don't know if could be part of the problem.


  Help with kill streack
Posted by: DaZzY - 2020-11-11, 02:07 PM - Forum: Pawn Scripting - Replies (4)

Hello?

i have kill streack on my server and i want to show a message who end a kill streack of someone?

example ( player1?ended streack of players 2 )



Quote:public OnPlayerDeath(playerid,killerid,reason)

{

new str[128];

new name[32];

GetPlayerName(killerid,name,32);





killstreak[killerid];

killstreak[playerid] = 0;





switch(killstreak[killerid])

{



case 3:

{



format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Killing Spree"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 5:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Dominating!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 6:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"UnStoppable!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 7:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Wicked Sick!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 8:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Monster like!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 9:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"GOD LIKE!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

}

case 10:

{

format(str,sizeof(str),""RED"[DM]"ORANGE" %s "GREY"is now "WHITE"Immortal!!"GREY"!!",name);

SendClientMessageToAll(-1,str);

SetPlayerArmour(killerid,100);

}

}

return 1;

}