Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 650 online users. » 1 Member(s) | 647 Guest(s) Bing, Google, woot
|
Latest Threads |
San Fierro Cops And Robbe...
Forum: Advertisements
Last Post: Dr0pp
9 hours ago
» Replies: 0
» Views: 36
|
Adding new vehicles and s...
Forum: Programming
Last Post: __.A.__
2025-09-12, 07:47 PM
» Replies: 0
» Views: 63
|
Zona América del Sur Free...
Forum: Advertisements
Last Post: kevinberriosflores
2025-09-12, 02:16 PM
» Replies: 1
» Views: 87
|
Busco copia de gamemode S...
Forum: Spanish/Espa?ol
Last Post: briancristaldo2021
2025-09-11, 11:14 AM
» Replies: 0
» Views: 78
|
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 216
|
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 307
|
Problem with plugins load...
Forum: Support
Last Post: MrKacu13
2025-09-08, 07:15 PM
» Replies: 9
» Views: 385
|
Compilation error
Forum: Pawn Scripting
Last Post: MrKacu13
2025-09-07, 07:18 AM
» Replies: 6
» Views: 369
|
Need help, problem when i...
Forum: Programming
Last Post: nonickowned
2025-09-06, 06:21 PM
» Replies: 0
» Views: 154
|
Transfer server from SAMP...
Forum: Support
Last Post: MrKacu13
2025-09-06, 04:03 PM
» Replies: 1
» Views: 251
|
|
|
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;
}
|
|
|
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:
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:
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:
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:
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
|
|
|
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]](https://i.stack.imgur.com/ApgJX.jpg)
Screenshot Of The Expected Results:
![[Image: 23ttM.jpg]](https://i.stack.imgur.com/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,
|
|
|
Trucking mission issue |
Posted by: JohnnyMP - 2021-02-13, 07:17 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hello guys,?
i starded making some trucking missions in my server and all i got for now is that when player types /work server checks few things like is player wanted or is player in truck with trailer attached and then it picks random mission and put mission load cp for player.
My question is next : How to make player able to choose from few closest Load points to his position ?
If anyone played on Convoy Trucking im trying to make same thing because its kinda bad if u are in LS and u start ur truck mission there but u get ur load point in SF.
|
|
|
Weird problem with cmd |
Posted by: morem - 2021-02-13, 11:09 AM - Forum: Support
- Replies (4)
|
 |
Hi,
I have a problem with/handsup cmd.
When a player is?freeze and use /handsup cmd, the player got unfreeze
The Weirdest?thing for me is I don't have any cmd like this!
Does anyone have any idea?
|
|
|
[Ayuda] Urgente |
Posted by: Kaiser - 2021-02-13, 04:39 AM - Forum: Programaci?n
- Replies (1)
|
 |
Tengo un error al iniciar el servidor en un host, la GM es con MySQL, y creo que parece haber un error de conexi?n, o realmente no s? que podr?a ser en verdad, aqu? dejo lo que marca en el log al encender el servidor, cuando enciendo el servidor desde XAMPP me va perfecto sin errores, pero por el host me manda tremenedo error.
Code: Loaded log file: "server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[22:09:20]
[22:09:20] Server Plugins
[22:09:20] --------------
[22:09:20]? Loading plugin: mysql.so
[22:09:20]? Failed (libmysqlclient_r.so.16: cannot open shared object file: No such file or directory)
[22:09:20]? Loading plugin: sscanf.so
[22:09:20]
[22:09:20]? ===============================
[22:09:20]? ? ? sscanf plugin loaded.? ?
[22:09:20]? ? ? ? ? Version:? 2.8.3? ? ? ?
[22:09:20]? (c) 2018 Alex "Y_Less" Cole?
[22:09:20]? ===============================
[22:09:20]? Loaded.
[22:09:20]? Loading plugin: crashdetect.so
[22:09:20]? CrashDetect v4.18.1 is OK.
[22:09:20]? Loaded.
[22:09:20]? Loading plugin: streamer.so
[22:09:20]
*** Streamer Plugin v2.9.4 by Incognito loaded ***
[22:09:20]? Loaded.
[22:09:20]? Loaded 3 plugins.
[22:09:20]
[22:09:20] Filterscripts
[22:09:20] ---------------
[22:09:20]? Loading filterscript 'MAPEOS.amx'...
[22:09:20]? Loading filterscript 'random.amx'...
[22:09:21]? Loading filterscript 'Multinombres.amx'...
[22:09:21]
--------------------------------------
[22:09:21] Multinombres by Woorlich y yor
[22:09:21] --------------------------------------
[22:09:21]? Loaded 3 filterscripts.
[22:09:21] [debug] Run time error 19: "File or function is not found"
[22:09:21] [debug]? mysql_connect
[22:09:21] [debug]? mysql_errno
[22:09:21] [debug]? mysql_tquery
[22:09:21] [debug]? mysql_format
[22:09:21] [debug]? mysql_query
[22:09:21] [debug]? cache_get_row_count
[22:09:21] [debug]? cache_get_row
[22:09:21] [debug]? cache_get_row_int
[22:09:21] [debug]? cache_delete
[22:09:21] [debug]? cache_get_data
[22:09:21] [debug]? cache_get_field_content_int
[22:09:21] [debug]? cache_get_field_content
[22:09:21] [debug]? cache_get_field_content_float
[22:09:21] [debug]? cache_insert_id
[22:09:21] [debug]? mysql_escape_string
[22:09:21] [debug] Run time error 19: "File or function is not found"
[22:09:21] [debug]? mysql_connect
[22:09:21] [debug]? mysql_errno
[22:09:21] [debug]? mysql_tquery
[22:09:21] [debug]? mysql_format
[22:09:21] [debug]? mysql_query
[22:09:21] [debug]? cache_get_row_count
[22:09:21] [debug]? cache_get_row
[22:09:21] [debug]? cache_get_row_int
[22:09:21] [debug]? cache_delete
[22:09:21] [debug]? cache_get_data
[22:09:21] [debug]? cache_get_field_content_int
[22:09:21] [debug]? cache_get_field_content
[22:09:21] [debug]? cache_get_field_content_float
[22:09:21] [debug]? cache_insert_id
[22:09:21] [debug]? mysql_escape_string
[22:09:21] Script[gamemodes/Gamemode.amx]: Run time error 19: "File or function is not found"
[22:09:21] Number of vehicle models: 0
[22:10:29] [connection] 201.156.222.114:64199 requests connection cookie.
[22:10:30] [connection] incoming connection: 201.156.222.114:64199 id: 0
[22:10:30] [debug] Run time error 19: "File or function is not found"
[22:10:30] [debug]? mysql_connect
[22:10:30] [debug]? mysql_errno
[22:10:30] [debug]? mysql_tquery
[22:10:30] [debug]? mysql_format
[22:10:30] [debug]? mysql_query
[22:10:30] [debug]? cache_get_row_count
[22:10:30] [debug]? cache_get_row
[22:10:30] [debug]? cache_get_row_int
[22:10:30] [debug]? cache_delete
[22:10:30] [debug]? cache_get_data
[22:10:30] [debug]? cache_get_field_content_int
[22:10:30] [debug]? cache_get_field_content
[22:10:30] [debug]? cache_get_field_content_float
[22:10:30] [debug]? cache_insert_id
[22:10:30] [debug]? mysql_escape_string
[22:10:30] [join] King_Schultz has joined the server (0:201.156.222.114)
[22:10:30] [debug] Run time error 19: "File or function is not found"
[22:10:30] [debug]? mysql_connect
[22:10:30] [debug]? mysql_errno
[22:10:30] [debug]? mysql_tquery
[22:10:30] [debug]? mysql_format
[22:10:30] [debug]? mysql_query
[22:10:30] [debug]? cache_get_row_count
[22:10:30] [debug]? cache_get_row
[22:10:30] [debug]? cache_get_row_int
[22:10:30] [debug]? cache_delete
[22:10:30] [debug]? cache_get_data
[22:10:30] [debug]? cache_get_field_content_int
[22:10:30] [debug]? cache_get_field_content
[22:10:30] [debug]? cache_get_field_content_float
[22:10:30] [debug]? cache_insert_id
[22:10:30] [debug]? mysql_escape_string
[22:10:33] [debug] Run time error 19: "File or function is not found"
[22:10:33] [debug]? mysql_connect
[22:10:33] [debug]? mysql_errno
[22:10:33] [debug]? mysql_tquery
[22:10:33] [debug]? mysql_format
[22:10:33] [debug]? mysql_query
[22:10:33] [debug]? cache_get_row_count
[22:10:33] [debug]? cache_get_row
[22:10:33] [debug]? cache_get_row_int
[22:10:33] [debug]? cache_delete
[22:10:33] [debug]? cache_get_data
[22:10:33] [debug]? cache_get_field_content_int
[22:10:33] [debug]? cache_get_field_content
[22:10:33] [debug]? cache_get_field_content_float
[22:10:33] [debug]? cache_insert_id
[22:10:33] [debug]? mysql_escape_string
[22:10:39] [debug] Run time error 19: "File or function is not found"
[22:10:39] [debug]? mysql_connect
[22:10:39] [debug]? mysql_errno
[22:10:39] [debug]? mysql_tquery
[22:10:39] [debug]? mysql_format
[22:10:39] [debug]? mysql_query
[22:10:39] [debug]? cache_get_row_count
[22:10:39] [debug]? cache_get_row
[22:10:39] [debug]? cache_get_row_int
[22:10:39] [debug]? cache_delete
[22:10:39] [debug]? cache_get_data
[22:10:39] [debug]? cache_get_field_content_int
[22:10:39] [debug]? cache_get_field_content
[22:10:39] [debug]? cache_get_field_content_float
[22:10:39] [debug]? cache_insert_id
[22:10:39] [debug]? mysql_escape_string
[22:10:39] [part] King_Schultz has left the server (0:1)
|
|
|
Bug when player freezes |
Posted by: RhaegarX - 2021-02-12, 08:18 PM - Forum: Support
- Replies (11)
|
 |
I am developing a stealing system, in which when stealing the player is frozen [TogglePlayerControllable (playerid, false);].
However, when the player is frozen he becomes immortal, not taking any damage.
Can anyone tell me how to fix this bug?
|
|
|
|