| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 232 online users. » 1 Member(s) | 227 Guest(s) Applebot, Google, Baidu, Bing, eakwarp
|
| Latest Threads |
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-03-22, 12:55 PM
» Replies: 13
» Views: 2,665
|
Pawno compiler (pawncc.ex...
Forum: Support
Last Post: PutuSuhartawan
2026-03-20, 11:12 PM
» Replies: 0
» Views: 46
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 68
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 82
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 113
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 145
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 96
|
Open Multiplayer ✅ loggin...
Forum: Pawn Scripting
Last Post: walid_dz
2026-03-05, 04:19 AM
» Replies: 0
» Views: 231
|
Argonath RPG SA:MP Reviva...
Forum: Advertisements
Last Post: Melon_Sam
2026-03-03, 06:37 PM
» Replies: 1
» Views: 212
|
RevolutionX Since (2008) ...
Forum: Advertisements
Last Post: DerekZ905
2026-03-02, 02:46 PM
» Replies: 0
» Views: 128
|
|
|
| samp-advanced-kicks |
|
Posted by: Mergevos - 2020-07-27, 12:24 AM - Forum: Libraries
- Replies (4)
|
 |
samp-delayed-kick
![[Image: sampctl-samp--advanced--kick-2f2f2f.svg?...-the-badge]](https://img.shields.io/badge/sampctl-samp--advanced--kick-2f2f2f.svg?style=for-the-badge)
Installation
Simply install to your project:
Code: sampctl package install Mergevos/samp-advanced-kick
Include in your code and begin using the library:
Usage
To use this include, simply include it. There's no need for fixing kick and SendClientMessage(etc...) due to its problems.
There're a few functions.
Very famous function, already known.
Code: KickEx(playerid, string: reason[], bool:usecallback=false)
Sister function of famous Kick. You may now kick with reason, that's going to be send like a message
Code: AdvancedKick(playerid, targetid, string: reason[], time);
This function will check whether the playerid or targetid are connected, returning a `OnPlayerKicked` callback. Allowing you to choose interval after which will player get kicked.
Code: public OnlayerKicked(playerid, kickerid, string: reason[], time, responselevel)
Allows player to choose and create their own response if the either player or target's not connected
Code: enum {
KICK_SUCCESS = 1, // Kick's successful
KICK_KICKEROFFLINE, // Player offline, target id not player id
KICK_TARGETOFFLINE // Target offline, player id not kicker id
}
Theese're the response levels used by a responselevel param in OnPlayerKicked callback
Testing
To test, simply run the package:
Other
I don't know why I've just had published this
|
|
|
|
| Map location for player |
|
Posted by: Godfather - 2020-07-22, 08:59 AM - Forum: Questions and Suggestions
- Replies (2)
|
 |
On roleplay servers there can be properties and enterable buildings that teleports you to some interior. These interiors often throw player somewhere to the desert/LV/SF/Montgomery.
It would be cool if we can set like map location of that player so when the player opens the map from pause menu?he will be shown there where we set the x and y.
|
|
|
|
Can anyone give me the full archive of Y_Less tutorials? |
|
Posted by: justinnn - 2020-07-20, 08:51 AM - Forum: General Discussions
- Replies (1)
|
 |
After I've read Y_Less' code optimization tutorial: https://forum.sa-mp.com/showthread.php?t=57018
I feel like I want more. It is old but its literally gold. Has anyone has a list of tutorials that Y_Less made on SAMP Forums? Link is enough given that it can be accessed it web.archive but I cant find more because some pages of samp forums are broken.
It really helps me alot especially this quarantine wherein schools are closed. It gives me something to read that I have interest into. I know you'll tell me go learn newer language instead of pawn but Im just at senior high and its long way ahead. I just want to practice my C lang skills on a game that I really love.
|
|
|
|
| [SERVIDOR] GTA BARRAS BRAVAS |
|
Posted by: xbruno1000x - 2020-07-18, 12:14 AM - Forum: Discusión GTA SA Multijugador
- No Replies
|
 |
![[Image: sgG6M72.png]](https://i.imgur.com/sgG6M72.png)
El servidor GTA Barras Bravas SA-MP propone llevar a los fan?ticos de sus equipos al mundo virtual, emulando campeonatos de f?tbol, fiestas en las canchas con fuegos artificiales y banderas, caravanas, enfrentamientos y mucho m?s. Por primera vez, un servidor une a los fan?ticos brasile?os con las barras sudamericanas, lo que demuestra el verdadero espect?culo del f?tbol sudamericano en el juego.
![[Image: Xycu9k0.png]](https://i.imgur.com/Xycu9k0.png)
Con nuevas profesiones como jugador de f?tbol, nuestro servidor busca sumergir al jugador en el mundo del f?tbol. Ser parte de organizaciones como Reportero, Polic?a, CBF/Conmebol (?rbitros de f?tbol) y ayudantes. Participar en los combates de eliminaci?n con armas blancas. Participe en los torneos de UFC o de f?tbol y gane recompensas. Por medio de modificaciones, hacemos posibles las skins de todos los fan?ticos. Registre su Barra Brava en nuestro servidor ahora mismo a trav?s del foro.
![[Image: QVH7B4A.jpg]](https://i.imgur.com/QVH7B4A.jpg)
Barras Bravas - en la cancha y en el SA-MP
|
|
|
|
| [Aporte] Sistema de Licencia de Conducir |
|
Posted by: R4lpH - 2020-07-16, 12:30 AM - Forum: Programación
- Replies (5)
|
 |
Buenas, en el d?a de hoy les traigo mi primer aporte que tengo en mi servidor y es de licencia de conducir. Espero que les sirvan y lo usen en sus servidores pero obvio denme creditos. Saludos!
PHP Code: TieneLicencia[MAX_PLAYERS] = 0; // Arriba de todo el GM
CMD: comprarlicencia (playerid, params []) // Cuando el jugador escriba / comprarlicencia entonces ejecute el codigo { ? ? ?#pragma unused params ? ? ?newTextoL [150]; // Variable que va a contener el texto ? ? ?if (! IsPlayerInRangeOfPoint (playerid, 1.0, [X], [Y], [Z])) return?SendClientMessage (playerid, -1, "No estas en el lugar adecuado"); // Lo que hace aca es que si el jugador no esta en la posici?n de X, Y, Z entonces enviando un mensaje diciendo que no esta en el lugar correcto para seguir ejecutando el codigo ? ? ?if (TieneLicencia[playerid] == 0) // Lo que tiene aca es que si el jugador tiene la licencia en "0" (Apagado o No tiene) entonces ejecutado esto. ? ? ?{ ? ? ? ? ??format(TextoL, 150, "Ha comprado una licencia de conducir por $ 520"); // Formato que va a tener el texto ? ? ? ? ? SendClientMessage (playerid, 150, TextoL); // Le enviamos un mensaje al jugador con el formato asignado ? ? ? ? ??GivePlayerCash (playerid, -520); //Le quita $-520 al jugador. ? ? ? ? ? TieneLicencia = 1; // Se le asigna al jugador que tiene licencia. ? ? ?} ? ? ?else if (TieneLicencia[playerid] == 1) // Si tiene Licencia o esta prendido, entonces va a ejecutar esta acci?n. ? ? ?{ ? ? ? ? ??formato (TextoL, 150, "Ya tienes tu licencia de conducir."); // Formato que va a tener el texto ? ? ? ? ? SendClientMessage (playerid, 150, TextoL); // Le enviamos un mensaje al jugador con el formato asignado? ? ?? ? ? ?} ? ? ? ? ? ? ? ?return 1; // Corta el codigo para que no se siga ejecutando. }
PHP Code: Public OnPlayerEnterVehicle (playerid, vehicleid, ispassenger) // Suceso de lo que pasa cuando un jugador entra en un veh?culo { ? ? ?if (TieneLicencia[playerid] == 0) // Si no tiene licencia entonces ejecutado el siguiente codigo ? ? ?{ ? ? ? ? ?SendClientMessage (playerid, 0xFF0000FF, "Estas conduciendo sin una licencia de conducir, la pol?tica puede multarte"); // Envia un mensaje al jugador. ? ? ?} ? ? ?return?1; }
|
|
|
|
| F4 |
|
Posted by: Cihighw - 2020-07-02, 03:44 PM - Forum: General Discussions
- Replies (1)
|
 |
Is there a method to detect and cancel the class request?
I thought it was impossible until I found a server today that, when pressing F4, nothing happens, nor does it show that message "Returning to class selection...".?How is this possible?
The server is called "Mike's Cops and Robbers".
|
|
|
|
|