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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,739
» Latest member: c0pkl354
» Forum threads: 2,521
» Forum posts: 12,604

Full Statistics

Online Users
There are currently 174 online users.
» 0 Member(s) | 170 Guest(s)
Google, Bing, Applebot, Yandex

Latest Threads
tutrrtjk
Forum: Pawn Scripting
Last Post: c0pkl354
5 hours ago
» Replies: 0
» Views: 13
hrrturtu
Forum: Support
Last Post: c0pkl354
5 hours ago
» Replies: 0
» Views: 15
ryherujhe
Forum: Questions and Suggestions
Last Post: c0pkl354
5 hours ago
» Replies: 0
» Views: 12
Project San Andreas Rolep...
Forum: Advertisements
Last Post: Artysh
Yesterday, 06:17 AM
» Replies: 0
» Views: 31
Looking for partner/found...
Forum: Chat
Last Post: cyk444
Yesterday, 01:09 AM
» Replies: 0
» Views: 33
County of Los Angeles - H...
Forum: Advertisements
Last Post: DevonH
2026-08-02, 10:22 PM
» Replies: 1
» Views: 39
Qawno for macOS — native ...
Forum: Releases
Last Post: Xyranaut
2026-08-01, 07:50 PM
» Replies: 2
» Views: 352
FCNPC for open.mp - the c...
Forum: Plugins
Last Post: Xyranaut
2026-08-01, 07:49 PM
» Replies: 3
» Views: 576
NEW!! SA:MP MAP EDITOR 2...
Forum: Releases
Last Post: JustMichael
2026-07-31, 02:48 PM
» Replies: 1
» Views: 103
German San Andreas Server
Forum: Advertisements
Last Post: Nova.Esports
2026-07-29, 08:45 PM
» Replies: 1
» Views: 94

 
Question AYUDA / HELP / TDM
Posted by: Hitler - 2021-02-06, 03:27 AM - Forum: Pawn Scripting - Replies (3)

Espa?ol: Tengo un servidor TDM, ?como hago para que se igualen los teams ?, osea una funci?n para que no haya por ejemplo 5 rojos y 2 azules, que se pueda emparejar por as? decirlo, gracias.



Ingl?s: Tengo un servidor TDM, ?c?mo hago coincidir los equipos ?, me refiero a una funci?n para que no haya por ejemplo 5 rojos y 2 azules, que se pueden emparejar por as? decirlo, gracias.


Question [Duda]
Posted by: Kaiser - 2021-02-06, 01:52 AM - Forum: Programación - Replies (3)

Buenas noches, ten?a la duda de c?mo le puedo agregar una funci?n de animaci?n a un comando, por ejemplo:



Quiero que el comando /robarbanco ejecut? una animaci?n c?mo si se estuviera agachando.



?Qu? tendr?a que hacer para meterle esa funci?n?


Thumbs Down Menu Para Vips
Posted by: Nikolay_Staggs - 2021-02-06, 12:33 AM - Forum: Filterscripts - No Replies

Es un simple [FS].

Solo necesitas los includes dof2 zcmd.




/*
? ? Menu Vip

*/



#include <a_samp>

#include <dof2>

#include <zcmd>



new PlayerText:MENU_VIP[MAX_PLAYERS][14];

new Selecionar_Skin[MAX_PLAYERS];



public OnFilterScriptInit()

{

return 1;

}



public OnFilterScriptExit()

{

? ? DOF2_Exit();

return 1;

}



public OnPlayerConnect(playerid)

{

MENU_VIP[playerid][0] = CreatePlayerTextDraw(playerid, 325.000000, 153.000000, "_");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][0], 1);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][0], 0.600000, 16.500017);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][0], 303.000000, 359.500000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][0], 1);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][0], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][0], 2);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][0], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][0], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][0], 16777215);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][0], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][0], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][0], 0);



MENU_VIP[playerid][1] = CreatePlayerTextDraw(playerid, 325.000000, 155.000000, "_");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][1], 1);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][1], 0.600000, 16.000024);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][1], 303.000000, 353.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][1], 1);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][1], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][1], 2);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][1], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][1], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][1], 1296911871);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][1], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][1], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][1], 0);



MENU_VIP[playerid][2] = CreatePlayerTextDraw(playerid, 389.000000, 154.000000, "Preview_Model");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][2], 5);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][2], 0.600000, 2.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][2], 112.500000, 94.500000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][2], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][2], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][2], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][2], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][2], 1433087999);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][2], 255);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][2], 0);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][2], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][2], 0);

PlayerTextDrawSetPreviewModel(playerid, MENU_VIP[playerid][2], 304);

PlayerTextDrawSetPreviewRot(playerid, MENU_VIP[playerid][2], -17.000000, 0.000000, -25.000000, 0.940000);

PlayerTextDrawSetPreviewVehCol(playerid, MENU_VIP[playerid][2], 1, 1);



MENU_VIP[playerid][3] = CreatePlayerTextDraw(playerid, 392.000000, 252.000000, "<");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][3], 3);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][3], 0.529166, 1.600000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][3], 404.500000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][3], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][3], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][3], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][3], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][3], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][3], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][3], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][3], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][3], 1);



MENU_VIP[playerid][4] = CreatePlayerTextDraw(playerid, 487.000000, 252.000000, ">");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][4], 3);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][4], 0.529166, 1.600000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][4], 498.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][4], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][4], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][4], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][4], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][4], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][4], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][4], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][4], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][4], 1);



MENU_VIP[playerid][5] = CreatePlayerTextDraw(playerid, 156.000000, 162.000000, "armas");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][5], 2);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][5], 0.400000, 1.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][5], 234.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][5], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][5], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][5], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][5], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][5], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][5], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][5], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][5], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][5], 1);



MENU_VIP[playerid][6] = CreatePlayerTextDraw(playerid, 156.000000, 184.000000, "jetpack");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][6], 2);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][6], 0.400000, 1.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][6], 234.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][6], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][6], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][6], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][6], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][6], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][6], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][6], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][6], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][6], 1);



MENU_VIP[playerid][7] = CreatePlayerTextDraw(playerid, 156.000000, 208.000000, "guardar_pos");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][7], 2);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][7], 0.400000, 1.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][7], 268.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][7], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][7], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][7], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][7], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][7], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][7], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][7], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][7], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][7], 1);



MENU_VIP[playerid][8] = CreatePlayerTextDraw(playerid, 156.000000, 232.000000, "ir_pos");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][8], 2);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][8], 0.400000, 1.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][8], 234.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][8], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][8], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][8], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][8], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][8], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][8], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][8], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][8], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][8], 1);



MENU_VIP[playerid][9] = CreatePlayerTextDraw(playerid, 156.000000, 255.000000, "vida_chaleco");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][9], 2);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][9], 0.400000, 1.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][9], 273.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][9], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][9], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][9], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][9], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][9], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][9], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][9], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][9], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][9], 1);



MENU_VIP[playerid][10] = CreatePlayerTextDraw(playerid, 156.000000, 278.000000, "comandos_vip");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][10], 2);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][10], 0.400000, 1.000000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][10], 275.500000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][10], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][10], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][10], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][10], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][10], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][10], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][10], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][10], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][10], 1);



MENU_VIP[playerid][11] = CreatePlayerTextDraw(playerid, 278.000000, 155.000000, "menu");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][11], 3);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][11], 0.416666, 1.200000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][11], 306.500000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][11], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][11], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][11], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][11], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][11], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][11], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][11], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][11], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][11], 0);



MENU_VIP[playerid][12] = CreatePlayerTextDraw(playerid, 319.000000, 155.000000, "vip");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][12], 3);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][12], 0.395833, 1.200000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][12], 306.500000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][12], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][12], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][12], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][12], -65281);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][12], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][12], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][12], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][12], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][12], 0);



MENU_VIP[playerid][13] = CreatePlayerTextDraw(playerid, 451.000000, 290.000000, "cerrar");

PlayerTextDrawFont(playerid, MENU_VIP[playerid][13], 3);

PlayerTextDrawLetterSize(playerid, MENU_VIP[playerid][13], 0.416666, 1.200000);

PlayerTextDrawTextSize(playerid, MENU_VIP[playerid][13], 498.000000, 17.000000);

PlayerTextDrawSetOutline(playerid, MENU_VIP[playerid][13], 0);

PlayerTextDrawSetShadow(playerid, MENU_VIP[playerid][13], 0);

PlayerTextDrawAlignment(playerid, MENU_VIP[playerid][13], 1);

PlayerTextDrawColor(playerid, MENU_VIP[playerid][13], -1);

PlayerTextDrawBackgroundColor(playerid, MENU_VIP[playerid][13], 255);

PlayerTextDrawBoxColor(playerid, MENU_VIP[playerid][13], 0);

PlayerTextDrawUseBox(playerid, MENU_VIP[playerid][13], 1);

PlayerTextDrawSetProportional(playerid, MENU_VIP[playerid][13], 1);

PlayerTextDrawSetSelectable(playerid, MENU_VIP[playerid][13], 1);



return 1;

}



public OnPlayerDisconnect(playerid, reason)

{

PlayerTextDrawHide(playerid, MENU_VIP[playerid][0]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][1]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][2]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][3]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][4]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][5]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][6]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][7]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][8]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][9]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][10]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][11]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][12]);

PlayerTextDrawHide(playerid, MENU_VIP[playerid][13]);

return 1;

}



CMD:menu(playerid)

{

? ? PlayerTextDrawSetPreviewModel(playerid, MENU_VIP[playerid][2], Selecionar_Skin[playerid]);

? ? SetPlayerSkin(playerid, Selecionar_Skin[playerid]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][0]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][1]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][2]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][3]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][4]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][5]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][6]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][7]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][8]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][9]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][10]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][11]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][12]);

? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][13]);

? ? SelectTextDraw(playerid, 0xFF6C00FF);

? ? return 1;

}



public OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)

{

? ? if(playertextid == MENU_VIP[playerid][4])

? ? {

? ? ? PlayerPlaySound(playerid, 1131, 0.0, 0.0, 0.0);

? if(Selecionar_Skin[playerid] == 310) Selecionar_Skin[playerid] = 0;

? {

? ? ? Selecionar_Skin[playerid] ;

? ? ? PlayerTextDrawSetPreviewModel(playerid, MENU_VIP[playerid][2], Selecionar_Skin[playerid]);

? ? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][2]);

? ? ? SetPlayerSkin(playerid, Selecionar_Skin[playerid]);

? }

? ? }

? ? else if(playertextid == MENU_VIP[playerid][3])

? ? {

? ? ? PlayerPlaySound(playerid, 1131, 0.0, 0.0, 0.0);

? if(Selecionar_Skin[playerid] == 1) Selecionar_Skin[playerid] = 311;

? {

? ? ? Selecionar_Skin[playerid] --;

? ? ? PlayerTextDrawSetPreviewModel(playerid, MENU_VIP[playerid][2], Selecionar_Skin[playerid]);

? ? ? PlayerTextDrawShow(playerid, MENU_VIP[playerid][2]);

? ? ? SetPlayerSkin(playerid, Selecionar_Skin[playerid]);

? }

? ? }

? ? else if(playertextid == MENU_VIP[playerid][5])

? ? {

? ? ? ? GivePlayerWeapon(playerid, 26, 5000);

? ? ? ? GivePlayerWeapon(playerid, 24, 5000);

? ? ? ? GivePlayerWeapon(playerid, 30, 5000);

? ? ? ? GivePlayerWeapon(playerid, 34, 5000);

? ? ? ? SendClientMessage(playerid, -1, "{009B00}[Info] {FFFFFF}se te dio armas..");

? ? }

? ? else if(playertextid == MENU_VIP[playerid][6])

? ? {

? ? ? ? CancelSelectTextDraw(playerid);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][0]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][1]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][2]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][3]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][4]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][5]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][6]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][7]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][8]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][9]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][10]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][11]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][12]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][13]);

? ? SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USEJETPACK);

? ? SendClientMessage(playerid, -1, "{009B00}[Info] {FFFFFF}has creado un jetpack..");

? ? }

? ? else if(playertextid == MENU_VIP[playerid][7])

? ? {

? ? ? ? new Float:vx, Float:vy, Float:vz, vpos[MAX_PLAYER_NAME], vstr[60];

? ? ? ? GetPlayerPos(playerid, vx, vy, vz);

? ? ? ? GetPlayerName(playerid, vpos, 24);



? ? ? ? format(vstr, sizeof(vstr), "POS_GUARDADA/Pos/%s.ini", vpos);



? ? ? ? if(!DOF2_FileExists(vstr))

? ? ? ? DOF2_CreateFile(vstr);

? ? ? ? DOF2_SetFloat(vstr, "X", vx);

? ? ? ? DOF2_SetFloat(vstr, "Y", vy);

? ? ? ? DOF2_SetFloat(vstr, "Z", vz);

? ? ? ? DOF2_SaveFile();

? ? ? ? SendClientMessage(playerid, -1, "{009B00}[Info] {FFFFFF}la posici?n actual se ha guardado..");

? ? }

? ? else if(playertextid == MENU_VIP[playerid][8])

? ? {

? ? ? ? new vpos[MAX_PLAYER_NAME], vstr[60];

? ? ? ? GetPlayerName(playerid, vpos, 24);

? ? ? ? format(vstr, sizeof(vstr), "POS_GUARDADA/Pos/%s.ini", vpos);

? ? ? ? if(!DOF2_FileExists(vstr))

? ? ? ? {

? ? ? ? ? ? SendClientMessage(playerid, -1, "{009B00}[Info] {FFFFFF}primero debes guardar una posici?n..");

? ? ? ? }

? ? ? ? else

? ? ? ? {

? ? ? ? ? ? new Float:vxi = DOF2_GetFloat(vstr, "X");

? ? ? ? ? ? new Float:vyi = DOF2_GetFloat(vstr, "Y");

? ? ? ? ? ? new Float:vzi = DOF2_GetFloat(vstr, "Z");



? ? ? ? ? ? SetPlayerPos(playerid, vxi, vyi, vzi);

? ? ? ? ? ? SendClientMessage(playerid, -1, "{009B00}[Info] {FFFFFF}has sido teletransportado..");

? ? ? ? }

? ? }

? ? else if(playertextid == MENU_VIP[playerid][9])

? ? {

? ? ? ? SetPlayerHealth(playerid, 100);

? ? ? ? SetPlayerArmour(playerid, 100);

? ? }

? ? else if(playertextid == MENU_VIP[playerid][13])

? ? {

? ? ? ? CancelSelectTextDraw(playerid);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][0]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][1]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][2]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][3]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][4]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][5]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][6]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][7]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][8]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][9]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][10]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][11]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][12]);

? ? PlayerTextDrawHide(playerid, MENU_VIP[playerid][13]);

? ? }

? ? return 0;
}


  SHA-256 Password Hashing
Posted by: JaKe Elite - 2021-02-05, 10:42 AM - Forum: Pawn Scripting - Replies (3)

Hi!



I would like to know if SHA-256 Password hashing is available for SAMP 0.3.7 R1? I tried looking into the a_samp.inc but the native function wasn't there although it says in the wiki that it is available on 0.3.7 R1.



Is there any way I can reverse or transfer to a different password hashing method replacing SHA-256 without affecting the accounts??



I am planning on downgrading my server due to personal reasons / server needs.


  How to create a SA-MP Mobile server
Posted by: Bobby552 - 2021-02-05, 09:04 AM - Forum: General Discussions - Replies (3)

I want to know how to create a SA-MP Mobile which you can also play from PC. I have an VPS what do I need to setup a SA-MP Mobile connection. Thanks


  [AJUDA] Discord-Connector Plugin
Posted by: KledsonZG - 2021-02-03, 08:56 PM - Forum: Portuguese/Português - No Replies

Algu?m sabe como usar corretamente estas fun??es?de criar uma rea??o no discord?







PHP Code:
DCC_Emoji:DCC_CreateEmoji(const name[DCC_EMOJI_NAME_SIZE], const snowflake[DCC_ID_SIZE] = "");



DCC_CreateReaction(DCC_Message:messageDCC_Emoji:reaction_emoji); 



Estava tentando criar a rea??o usando este emoji:?:white_check_mark:



Foram as unicas fun??es deste plugin que n?o consegui entender como usar apesar do c?digo compilar normalmente.


Photo open.mp | Discord mini-bg concept
Posted by: daddy. - 2021-02-03, 10:27 AM - Forum: Art - No Replies

Hi, I created one mini-bg concept for open.mp discord server, I hope you like it :D



Code:
https://i.ibb.co/pyJsMYh/ompbg-discord.png



[Image: ompbg-discord.png]



I created it to replace this one here:



[Image: image.png]


  FLINT COUNTY PRISON
Posted by: Name - 2021-02-03, 03:31 AM - Forum: Maps - Replies (2)

FLINT COUNTY, THE FARM?PRISON

(old map that was shared before, posting it here as well, for those who maybe need it)

Name: The Farm Prison

Map type: Exterior

Author of map: MrName (me)

Number of objects: 544

Number of textures: 546

Number of texts: 20

Removed SA objects: 0

Custom objects: 0

Location of map: THE FARM - FLINT COUNTY

Map editor used: MSR's mapping system

Reference: none

About map: Prison's exterior that is located at The Farm in Flint County. Big place with 6 prison blocks, each prison block has its own unique location for prisoners. As for guests and workers of that place, there is of course main enterence where all the vehicles are parked, outside and inside of the place, with few garages here and there. Huge wall with towers is surrounding whole prison, for security sake.

Screenshots & Code:

[Image: bjMOPHsl.jpg]

[Image: TVTU11Dl.jpg]

[Image: IyEmyHwl.jpg]

[Image: 088sl1jl.jpg]

[Image: xJOGMUkl.jpg]

[Image: lKX22q5l.jpg]

[Image: 2dgSAxDl.jpg]

[Image: gcWyKWEl.jpg]

[Image: 5aq0I5hl.jpg]

[Image: xeer457l.jpg]

[Image: pdElWaOl.jpg]

[Image: G1cdSxal.jpg]

[Image: EPfhKN1l.jpg]

[Image: TJwhcctl.jpg]

[Image: XEvhN85l.jpg]

[Image: Qs9xlvvl.jpg]

[Image: qhUIYr4l.jpg]

[Image: 8e0tJeBl.jpg]

[Image: LwJwphIl.jpg]

[Image: 7gRogVfl.jpg]

[Image: 9o1Cnghl.jpg]

[Image: nhNRRe8l.jpg]

[Image: ib7FR2Ll.jpg]

[Image: Aog8We2l.jpg]

[Image: DWPEtlkl.jpg]

[Image: xHguLE3l.jpg]


  [MAP] Modern Apartment
Posted by: Muksinjo - 2021-02-02, 10:17 PM - Forum: Videos and Screenshots - Replies (2)

Hello, this is my new map, it's modern apartment, i hope you like it :D (Textures are kinda yellowish on photos, i dont know why, maybe its because of brightness or something, but in game they are great)

https://imgur.com/a/YoNaycS


  [HELP!] Filescript giving me errors for a week
Posted by: MiniKLK - 2021-02-02, 09:52 PM - Forum: Pawn Scripting - Replies (2)

Hello, everyone, i finally compiled this filescript i take from another gm, but it still not working on the server and this appears on the console, i don't know if someone of you can help me with this error, i tryed updating my mysql and a lot of libraryes but nothing, thanks you so much, really!.



[Image: CmWS1WM]

[Image: pxxoLoU]





This is my discord if you can or want to help me: ??#3040

If you can't add me, i'll try to add you, just let me know your Discord tag.

Bless.