| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 419 online users. » 0 Member(s) | 417 Guest(s) Bing, Google
|
| Latest Threads |
UZS Zombie Survival
Forum: Advertisements
Last Post: phnx
2026-04-04, 05:32 PM
» Replies: 0
» Views: 34
|
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-04-02, 02:22 AM
» Replies: 14
» Views: 3,139
|
FCNPC for open.mp
Forum: Pawn Scripting
Last Post: mentaletion
2026-04-01, 12:28 PM
» Replies: 7
» Views: 7,369
|
Samp development
Forum: Chat
Last Post: pmemorex2016
2026-03-31, 09:57 AM
» Replies: 0
» Views: 119
|
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 165
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 116
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 105
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 151
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 194
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 136
|
|
|
| Openmp status |
|
Posted by: RhaegarX - 2021-02-23, 01:06 PM - Forum: Questions and Suggestions
- Replies (1)
|
 |
Hello, it's been a few months since the latest information on the development situation of openmp. does anyone know how to inform the development of the project? are we close to maybe having a public beta?
|
|
|
|
| command-guess |
|
Posted by: Tama - 2021-02-23, 10:55 AM - Forum: Libraries
- Replies (1)
|
 |
command-guess
A guesser command who uses levenshtein distance algoritm written in pawn.
Now it's support ZCMD-like command processor!
Maybe if you want this to?support more command processor, just make an issue on my github?and i'll figure it out.
Usage:
PHP Code: #include <a_samp> #include <izcmd> #include <command-guess>
main() { ? ? print("Script loaded"); } public OnPlayerCommandPerformed(playerid, cmdtext[], success) { ? ? if (!success) { ? ? ? ? new ? ? ? ? ? ? guessCmd[32];
? ? ? ? CommandGuess(guessCmd, cmdtext);
? ? ? ? SendClientMessageEx(playerid, -1, "{FF0000}ERROR:{FFFFFF} \"%s\" is not found, did you mean \"%s\"?", cmdtext, guessCmd); ? ? ? ? return 1; ? ? } ? ? return 1; }
Downloads:
GitHub Release
|
|
|
|
| Top en 2d |
|
Posted by: Hitler - 2021-02-23, 02:09 AM - Forum: Pawn Scripting
- Replies (6)
|
 |
Espa?ol: ya tengo una funci?n que muestra a los 5 mejores top score, pero como lo hago para hacerlo en un texto 2d?
English: I already have a function that shows the top 5 scores, but how do I do it in a 2d text?
Code: CMD:top(playerid)
{
mysql_pquery(con, "SELECT `Nombre`, `Score` FROM `usuarios` WHERE `Score` > 0 ORDER BY `Score` DESC LIMIT 5", "MejoresScore", "d", playerid);
return 1;
}
funcion MejoresScore(playerid)
{
new rows = cache_num_rows(),string[300],Escore,nameplayer[MAX_PLAYER_NAME];
if(rows > 0)
{
string = "{FFFFFF}Lista 5?mejores Scores\n\n";
for(new i=0; i<rows; i)
{
cache_get_value_name_int(i, "Score", Escore);
cache_get_value_name(i, "Nombre", nameplayer, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s#%d\t%s? %d Score\n",string,i,nameplayer,Escore);
}
ShowPlayerDialog(playerid, 0, DIALOG_STYLE_MSGBOX, "Top Scores", string, "Cerrar", "");
}
return 1;
}
como as?:? https://imgur.com/SO3F1Fj
|
|
|
|
| [Help] Duelos |
|
Posted by: Hitler - 2021-02-22, 11:39 PM - Forum: Pawn Scripting
- Replies (2)
|
 |
Espa?ol: Hola buenas, tengo un problema con los Duelos y es que como hago para que los jugadores est?n en el mismo Virtual World y que si otros jugadores duelan en la misma arena que no coincidan el virtual world con los otros jugadores, no se si yo estoy explicando bien
[c?digo] SetPlayerVirtualWorld (id1, 1);
SetPlayerVirtualWorld (id2, 1); [/ c?digo]
|
|
|
|
| gravity 0? |
|
Posted by: Boxi - 2021-02-21, 01:49 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hello, is it possible to make a script so that the gravity is 0? or something similar. Greetings!
|
|
|
|
[Suggestion] Battles |
|
Posted by: daddy. - 2021-02-20, 09:20 PM - Forum: Chat
- Replies (2)
|
 |
I came up with the?idea that some kind of battles?(scripting/mapping/designing)?could be organized?to increase the popularity of the forum.
If we're talking about scripting battle, there is a big number of people who know pawn language very well so they can compete with each other or they can actually be some kind of commission in those battles.
Members can learn a lot of new things from them via these battles and also give some ideas for battles.
|
|
|
|
| i have a error |
|
Posted by: Nicolas_Belic - 2021-02-20, 01:27 PM - Forum: Pawn Scripting
- Replies (11)
|
 |
Code: new Gl_Privados[MAX_PLAYERS];
CMD:toggl(playerid, params[]) {
? ? if (!Gl_Privados[playerid]) {
? ? ? ? Gl_Privados[playerid] = 1;
? ? ? ? SendClientMessage(playerid, 2, "GL Off");
? ? } else if (Gl_Privados[playerid]) {
? ? ? ? Gl_Privados[playerid] = 0;
? ? ? ? SendClientMessage(playerid, 2, "GL on");
? ? }
? ? return 1;
}
Code: CMD:gl(playerid, params[])
{
? ? new Text[132], string[128], PlayerName[MAX_PLAYER_NAME];
? ? if(sscanf(params, "s[132]", Text))
? ? {
? ? ? ? SendClientMessage(playerid, -1, "{D41818}[COMANDO]{AFAFAF} /gl <texto>");
? ? }
? ? else
? ? {
? ? ? ? if (Gl_Privados[playerid] == 1) return SendClientMessage(playerid, -1, "{D41818}[ERROR]{AFAFAF} you have blocked the /gl");
? ? ? ? GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); // storing player name first in the PlayerName variable
? ? ? ? foreach(new i : Player)
? ? ? ? {
? ? ? ? if (Gl_Privados[playerid] == 0)
? ? ? ? {
? ? ? ? SendClientMessage(i, 0xFFFFFF00, string);
? ? ? ? }
? ? ? ? if (Gl_Privados[playerid] == 1)
? ? ? ? {
? ? ? ? }
? ? ? ? }
? ? ? ? format(string, sizeof(string), "{D41818}[ID:%d - %s]:{AFAFAF} %s",playerid, PlayerName, Text);
? ? ? ? SendClientMessageToAll(0xFFFFFF00, string);
? ? }
? ? return 1;
}
i have a bug with this, when I disable /gl (send message to all players) I get messages from players anyway
|
|
|
|
|