Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 390 online users. » 0 Member(s) | 388 Guest(s) Bing, Google
|
Latest Threads |
Windows virus recognizion
Forum: Support
Last Post: Robert Kim
41 minutes ago
» Replies: 2
» Views: 1,280
|
SA-MP isn't working
Forum: General Discussions
Last Post: Robert Kim
45 minutes ago
» Replies: 4
» Views: 3,175
|
GTA SA DE is the future
Forum: General Discussions
Last Post: Robert Kim
52 minutes ago
» Replies: 5
» Views: 5,241
|
Error
Forum: Pawn Scripting
Last Post: -N0FeaR-
Yesterday, 12:05 PM
» Replies: 0
» Views: 14
|
GTA Multigames [ MultiMod...
Forum: Advertisements
Last Post: Undead
Yesterday, 07:37 AM
» Replies: 0
» Views: 22
|
Atlanta DeathMatch
Forum: Advertisements
Last Post: NixaSha
Yesterday, 01:19 AM
» Replies: 0
» Views: 20
|
will open.mp supports hig...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-23, 07:10 PM
» Replies: 2
» Views: 402
|
black screen
Forum: Support
Last Post: geppetog
2025-04-23, 05:34 PM
» Replies: 0
» Views: 32
|
Discord server - Ban Appe...
Forum: Chat
Last Post: joshcoconutard
2025-04-22, 06:42 PM
» Replies: 0
» Views: 48
|
I know Kalcor left the bu...
Forum: Questions and Suggestions
Last Post: NoxxeR
2025-04-22, 02:22 PM
» Replies: 4
» Views: 173
|
|
|
cusCMD - Custom Command |
Posted by: Tama - 2020-07-30, 09:50 AM - Forum: Libraries
- No Replies
|
 |
Yeah i know it may be useless for you who reliable to speed like Pawn.CMD, but i managed to porting izcmd to this.
You can change prefix or sensitive char....
PHP Code: #define CUSTOM_CMD "." #define CMD_SENSITIVE false #include <cusCMD>
For command processing you'll changing CMD: to Process:
Here's example code:
PHP Code: #include <a_samp>
#define CMD_PREFIX ">" #define CMD_SENSTIVE false
#include <cusCMD>
// Output: >help Process:help(playerid, params[]) { ? ? SendClientMessage(playerid, -1, "Yay!"); ? ? return 0; }
NOTE: use only special char, otherwise it won't work ( maybe ?\_(?)_/? )
?If you're interested, you can download and test it yourself.
https://pastebin.com/JqeHAGmQ
|
|
|
So I created SAMP app redesign in Figma |
Posted by: dayew - 2020-07-28, 02:21 PM - Forum: Art
- Replies (16)
|
 |
I played SAMP about 7 years (maybe less) and all time in my head was question: Why SAMP interface?has not any progress?
I dont speak about custom models from servers - maybe it's too hard to realize, but interface - it is first, what sees user after installing, and it's need to be upgraded.
I worked on this project about week in Figma, and created this minimalistic, and user-frendly interface, so what do you guys think?
|
|
|
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; }
|
|
|
|