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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,244
» Latest member: tcharlesmeurer
» Forum threads: 2,377
» Forum posts: 12,288

Full Statistics

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

Latest Threads
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
1 hour ago
» Replies: 0
» Views: 1
Servidor novo RPG profiss...
Forum: Chat
Last Post: tcharlesmeurer
1 hour ago
» Replies: 0
» Views: 1
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
1 hour ago
» Replies: 2
» Views: 16
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-07-04, 08:35 AM
» Replies: 0
» Views: 35
Liberty City map
Forum: Pawn Scripting
Last Post: ziyadprogamer
2025-06-28, 04:55 PM
» Replies: 2
» Views: 2,166
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Miki
2025-06-28, 01:25 PM
» Replies: 1
» Views: 54
Script[gamemodes/gamemode...
Forum: Pawn Scripting
Last Post: Miki
2025-06-27, 05:08 PM
» Replies: 1
» Views: 433
Want to edit my profile n...
Forum: Chat
Last Post: Hera.
2025-06-26, 08:41 PM
» Replies: 1
» Views: 581
Farsi
Forum: Other
Last Post: acc.gangbeni
2025-06-25, 08:21 AM
» Replies: 2
» Views: 3,074
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-06-22, 06:47 PM
» Replies: 0
» Views: 65

 
  How to enter a crane in SA-MP?
Posted by: jdefgh - 2021-02-19, 01:19 PM - Forum: Programming - Replies (1)

How do enter or put a player in the Import/Export crane? I wanted to make a filterscript for Exports and Imports, but i have no idea how to enter it.

Because normally, there was a red spot where you could enter the crane, but i can't find a way to replicate it.

The crane is not a vehicle, so i can't just get its id and put the player in it. There should be a way to enter it.



Do i have to reinvent the wheel, or there's a way to put player in a crane?


  Rank Teams | TDM
Posted by: Hitler - 2021-02-18, 08:00 PM - Forum: Pawn Scripting - Replies (1)

Espa?ol: ?Alguien sabe como hacer un rankings de teams?, me explico, una funcion para juntar los scores de los jugadores del team, uso MySQL



English:?Does anyone know how to make a team ranking? Let me explain, a function to gather the scores of the team players, I use MySQL


  How i can add this to my command?
Posted by: Nicolas_Belic - 2021-02-18, 10:34 AM - Forum: Pawn Scripting - Replies (1)

Hi, how can I make it so that only I can teleport to people who are in the same virtual world and cannot if the virtual world is different?





Code:
CMD:goto(playerid, params[]) {

? ?

? ? ? ? if (!sscanf(params, "d", params[0])) {

? ? ? ? ? ? if (IsPlayerConnected(params[0])) {

? ? ? ? ? ? ? ? if(GetPlayerVirtualWorld(params[0]) == GetPlayerVirtualWorld (playerid)) else SendClientMessage(playerid, -1, "Nope");

? ? ? ? ? ? ? ? new Float: p_x,Float: p_y,Float: p_z;

? ? ? ? ? ? ? ? GetPlayerPos(params[0], p_x, p_y, p_z);

? ? ? ? ? ? ? ? new interior = GetPlayerInterior(params[0]);

? ? ? ? ? ? ? ? new vw = GetPlayerVirtualWorld(params[0]);

? ? ? ? ? ? ? ? SetPlayerPos(playerid, p_x, p_y, p_z);

? ? ? ? ? ? ? ? SetPlayerInterior(playerid, interior);

? ? ? ? ? ? ? ? SetPlayerVirtualWorld(playerid, vw);

? ? ? ? ? ? ? ? return SendClientMessage(playerid, -1, "Teleported.");

? ? ? ? ? ? } else SendClientMessage(playerid, -1, "Player not found.");

? ? ? ? } else SendClientMessage(playerid, -1, "/goto [playerid]");

? ? ? ? return 1;

}







Correct me please


  Road map
Posted by: Muksinjo - 2021-02-17, 04:07 PM - Forum: Videos and Screenshots - Replies (2)

Hello, this is my new map, hope you like it :D?



https://imgur.com/a/wjua3Ks


  multi-thread ORM mysql samp
Posted by: Paulthas01 - 2021-02-17, 12:18 AM - Forum: Questions and Suggestions - No Replies

As fun??es ORM do mysql s?o multiencadeadas?


  Intro Server
Posted by: Hitler - 2021-02-16, 03:14 AM - Forum: Pawn Scripting - Replies (3)

Espa?ol:?Cual pagina recomiendan para subir una musica para la intro de un servidor



English:?Which page do you recommend to upload a music for the intro of a server


  ayuda con registro dini
Posted by: Nikolay_Staggs - 2021-02-16, 02:39 AM - Forum: Programaci?n - Replies (2)

tengo dos d?as tratando de resolver el problema pero no puedo, por que no se guardan los datos de los usuarios :)
?este es el c?digo"?

//_____Enum______//
enum DATA_PLAYER
{
? ? GAME_IDENTIFICADO,
? ? GAME_REGISTRADO,
GAME_EXP,
GAME_ADMIN_LEVEL,
GAME_SCORE,
GAME_MONEY
};
new PLAYER_INFO[MAX_PLAYERS][DATA_PLAYER];
//_________News__________//
new GAME_PASSWORD_INCORRECTA[MAX_PLAYERS];


public OnPlayerConnect(playerid)
{
? ? GAME_PASSWORD_INCORRECTA[playerid] = 0;
? ?
? ? new string[250];

? ? if (fexist(ac_ARCHIBO_USER(playerid)))
? ? {
PLAYER_INFO[playerid][GAME_REGISTRADO] = 1;
? ? }
? ?
? ? if (PLAYER_INFO[playerid][GAME_REGISTRADO])
? ? {
format(string, sizeof(string), "{CCCCCC}- Bienvenido %s.\n- Escribe tu contrase?a para identificarte", NAME_USER(playerid));
? ShowPlayerDialog(playerid, DIALOG_INGRESO, DIALOG_STYLE_PASSWORD, ""#BLANCO"Ingreso", string, "Ingresar", "Salir");
? ? }
? ? else
? ? {
? format(string, sizeof(string), "{CCCCCC}- Bienvenido %s.\n- Escribe una contrase?a para Registrarte", NAME_USER(playerid));
? ShowPlayerDialog(playerid, DIALOGO_REGISTRO, DIALOG_STYLE_PASSWORD, ""#BLANCO"Registrar", string, "Ok", "Salir");
? ? }
? ?
? ? RESET_USER(playerid);
return 1;
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
? ? new string[250];
? ? if(dialogid == DIALOGO_REGISTRO)
? ? {
? ? ? ? dini_Create(ac_ARCHIBO_USER(playerid));
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "contrase?a",? ? ? ? adler32(inputtext));
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Exp",? ? ? ? ? ? ? PLAYER_INFO[playerid][GAME_EXP]);
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Admin",? ? ? ? ? ? PLAYER_INFO[playerid][GAME_ADMIN_LEVEL]);
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Score",? ? ? ? ? ? PLAYER_INFO[playerid][GAME_SCORE]);
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Dinero",? ? ? ? ? ? PLAYER_INFO[playerid][GAME_MONEY]);
? ? ? ?
? ? ? ? PLAYER_INFO[playerid][GAME_IDENTIFICADO] = 1;
? ? ? ? PLAYER_INFO[playerid][GAME_REGISTRADO] = 1;
? ? }
? ? else if(dialogid == DIALOG_INGRESO)
? ? {
? ? ? ? if (dini_Int(ac_ARCHIBO_USER(playerid), "Contrase?a") == adler32(inputtext))
? ? ? ? {
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_IDENTIFICADO] = 1;
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_REGISTRADO] = 1;
? ? ? ? ? ?
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_EXP] = dini_Int? ? ? ? ? ? ? ? (ac_ARCHIBO_USER(playerid), "Exp");
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_ADMIN_LEVEL] = dini_Int? ? ? ? (ac_ARCHIBO_USER(playerid), "Admin");
? ? ? ? ? ? SetPlayerScore(playerid, dini_Int? ? ? ? ? ? ? ? ? ? ? ? ? (ac_ARCHIBO_USER(playerid), "Score"));
? ? ? ? ? ? GivePlayerMoney(playerid, dini_Int? ? ? ? ? ? ? ? ? ? ? ? (ac_ARCHIBO_USER(playerid), "Dinero"));
? ? ? ? }
? ? ? ? else
? ? ? ? {
? ? ? ? ? ? GAME_PASSWORD_INCORRECTA[playerid];
? ? ? ? ? ? format(string, sizeof(string), "{CCCCCC}- Por favor %s.\n- Ingresa una contrase?a correcta", NAME_USER(playerid));
? ? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_INGRESO, DIALOG_STYLE_PASSWORD, "{6F0000}Error", string, "Ok", "Salir");

? ? ? ? ? ? if(GAME_PASSWORD_INCORRECTA[playerid] == MAX_PASSWORD_INVALIDA)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? format(string,sizeof(string),"{6F0000}[Cuentas]: %s fue expulsado (Max intentos de ingresar(Contrase?a invalida))", NAME_USER(playerid));
? ? ? ? ? ? ? ? SendClientMessageToAll(-1, string);
? ? ? ? ? ? ? ? SendClientMessage(playerid, -1, "** Haz puesto varias contrase?as incorrectas has sido kickeado del servidor por seguridad.");
? ? ? ? ? ? ? ? Kick(playerid);
? ? ? ? ? ? }
? ? ? ? }
? ? }
? ? return 1;
}


stock NAME_USER(playerid)
{
new User_Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, User_Name, sizeof(User_Name));
return User_Name;
}

stock ac_ARCHIBO_USER(playerid)
{
new User_Name[250];
GetPlayerName(playerid, User_Name, sizeof(User_Name));
format(User_Name, sizeof(User_Name), "DM_FREEROAM/%s.ini", User_Name);
return User_Name;
}

stock SAVE_USER(playerid)
{
? ? if(PLAYER_INFO[playerid][GAME_IDENTIFICADO])
? ? {
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Exp",? ? ? ? ? PLAYER_INFO[playerid][GAME_EXP]);
dini_IntSet(ac_ARCHIBO_USER(playerid), "Admin",? ? ? ? PLAYER_INFO[playerid][GAME_ADMIN_LEVEL]);
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Score",? ? ? ? GetPlayerScore(playerid));
? ? ? ? dini_IntSet(ac_ARCHIBO_USER(playerid), "Dinero",? ? ? ? GetPlayerMoney(playerid));
? ? }
? ? return 1;
}

stock adler32(buf[])
{
? ? new len = strlen(buf), key1 = 1, key2 = 0, n;
? ? for (n = 0; n < len; n )
? ? {
? ? ? ? key1 = (key1 buf[n])? % 65521;
? ? ? ? key2 = (key2 key1)? ? % 65521;
? ? }
? ? return (key2 << 16) key1;
}


stock RESET_USER(playerid)
{
? ? PLAYER_INFO[playerid][GAME_IDENTIFICADO] = 0;
? ? PLAYER_INFO[playerid][GAME_REGISTRADO] = 0;
? ? PLAYER_INFO[playerid][GAME_EXP] = 0;
? ? PLAYER_INFO[playerid][GAME_ADMIN_LEVEL] = 0;
? ? PLAYER_INFO[playerid][GAME_SCORE] = 0;
? ? PLAYER_INFO[playerid][GAME_MONEY] = 0;
? ? return 1;
}


  SA-MP 0.3.7-R2 Windows Server
Posted by: ZyZu. - 2021-02-15, 08:00 PM - Forum: Pawn Scripting - Replies (8)

SA-MP forum is down.. I cannot download the main files, does anyone in here have a good working download link?


  SOME VALENTINES STUFF
Posted by: Name - 2021-02-14, 06:25 PM - Forum: Videos and Screenshots - No Replies

SERVERS SPAWN MAP

Name: Valentine's spawn map

Map type: Exterior

Author of map: MrName (me)

Number of objects: 149

Number of textures: 268

Removed SA objects: 0

Custom objects: 0

Location of map: Missionary Hill in San Fierro

Map editor used: MSR's mapping system

Reference: none?

About map: Location is not random, it is servers spawn location, so mapped valentines theme?for spawn.?

Screenshots:

[Image: 9URHnMyl.jpg]

[Image: a3MuvgAl.jpg]

[Image: u4Zi5LLl.jpg]

[Image: G0Lr22fl.jpg]

[Image: SJh4Grel.jpg]





TREE OF HEARTS



Name: Tree of hearts

Map type: Exterior

Author of map: MrName (me)

Number of objects: 65

Number of textures: 109

Removed SA objects: 0

Custom objects: 0

Location of map: Paradiso in San Fierro

Map editor used: MSR's mapping system

Reference: none?

About map: Big tree with hearts instead of leafs.

Screenshots:



[Image: JZ4emZcl.jpg]

[Image: cJe1Z7Hl.jpg]

[Image: 2VECd4rl.jpg]

[Image: mrpat4Ql.jpg]



HEART AIR BALLON



Name: Heart air ballon

Map type:?Exterior

Author of map:?MrName (me)

Number of objects:?84

Number of textures:?86

Removed SA objects:?0

Custom objects:?0

Location of map:?Gant bridge in San Fierro, above San Fierro Bay.

Map editor used:?MSR's mapping system

Reference:?none?

About map:?Few air ballons above San Fierro Bay, near Gant bridge. One of the air ballons is shapes as heart, while other ballons are standart shaped.

Screenshots:



[Image: XwXszifl.jpg]

[Image: waxCZXzl.jpg]

[Image: 5r61s3gl.jpg]





VALENTINE'S TEARS



Name:?Valentine's tear pool

Map type:?Exterior

Author of map:?MrName (me)

Number of objects:?160

Number of textures:?216

Removed SA objects:?0

Custom objects:?0

Location of map:?Willowfield, Los Santos

Map editor used:?MSR's mapping system

Reference:?none?

About map:?Tear pool of those who were lonely on valentine's day. :(

Screenshots:



[Image: UiGBAdJl.jpg]

[Image: ezysIrql.jpg]

[Image: wNf8ndNl.jpg]

[Image: BmICcebl.jpg]







Few valentines day maps, mapped them last year.. Never used, never shared, so here I am making a showcase of them. Mapped them fast and for fun, so wasnt too serious about this haha.. Lemme know what you think, feed back is very appreacited! Thank you! See ya around! :3


Question How to fix dark skin issue on SAMP class selection in pawn?
Posted by: goldprince - 2021-02-14, 04:28 PM - Forum: Programming - Replies (5)

Hello Everyone,
? ? ? ? ? ? ? ? ? ? ? ? ? ?I'm working on a SAMP server using pawn language, but I've started facing an issue since I started work on SAMP player skin selection class. The issue is when a player request's a class all skins becomes darker.

Code:
#include <a_samp>

main() {

}

public OnGameModeInit() {
    SetWeather(10);
    SetWorldTime(12);
    AddPlayerClass(1, -1479.434082, 920.448730, 71.350372, 288.652161, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(2, -1479.434082, 920.448730, 71.350372, 288.652161, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(3, -1479.434082, 920.448730, 71.350372, 288.652161, 0, 0, 0, 0, 0, 0);
    return 1;
}

public OnPlayerRequestClass(playerid, classid) {
    SetPlayerPos(playerid, -1479.434082, 920.448730, 71.350372);
    SetPlayerFacingAngle(playerid, 288.652161);
    SetPlayerCameraPos(playerid, -1474.420288, 922.672607, 72.009903);
    SetPlayerCameraLookAt(playerid, -1475.333984, 922.266418, 71.999748);
    return 1;
}

Screenshot Of The Issue:
[Image: ApgJX.jpg]

Screenshot Of The Expected Results:
[Image: 23ttM.jpg]

As you can see in the first screenshot the player skin is darker then normal.

What I have tried:?
I have tried rearranging the code, like calling SetPlayerCameraPos() before SetPlayerPos().
I have also tried using a timer to add a delay before setting player pos and camera pos.
I have also tried using TogglePlayerSpectating()?method to make sure every things gets loaded with player's camera.
But still same result.

If you know any solution for this problem please share.

Thank You,