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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,801
» Latest member: poppom95
» Forum threads: 2,919
» Forum posts: 13,005

Full Statistics

Online Users
There are currently 259 online users.
» 1 Member(s) | 254 Guest(s)
Bing, Applebot, Google, Yandex, Krysal

Latest Threads
§≻⟨°$40 off°⟩Shein Discou...
Forum: Videos and Screenshots
Last Post: Krysal
9 minutes ago
» Replies: 0
» Views: 1
§≻⟨°$200 off°⟩Shein Disco...
Forum: Questions and Suggestions
Last Post: Krysal
14 minutes ago
» Replies: 0
» Views: 1
§≻⟨°$120 off°⟩Shein Disco...
Forum: Programming
Last Post: Krysal
15 minutes ago
» Replies: 0
» Views: 1
§≻⟨°70% off°⟩Shein Discou...
Forum: Tech
Last Post: Krysal
18 minutes ago
» Replies: 0
» Views: 1
§≻⟨°90% off°⟩Shein Discou...
Forum: Life
Last Post: Krysal
20 minutes ago
» Replies: 0
» Views: 1
§≻⟨°40% off°⟩Shein Discou...
Forum: Support
Last Post: Krysal
31 minutes ago
» Replies: 0
» Views: 1
§≻⟨°$100 off°⟩Shein Disco...
Forum: Art
Last Post: Krysal
33 minutes ago
» Replies: 0
» Views: 1
§≻⟨°40 off°⟩Shein Discoun...
Forum: Chat
Last Post: Krysal
34 minutes ago
» Replies: 0
» Views: 1
§≻⟨°30% off°⟩Shein Discou...
Forum: Support
Last Post: Krysal
35 minutes ago
» Replies: 0
» Views: 1
^50% Discount^Shein Refer...
Forum: Programming
Last Post: AlexMorgan27
54 minutes ago
» Replies: 0
» Views: 1

 
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.


  Y_VA Problem
Posted by: solidadph - 2021-02-02, 08:15 AM - Forum: Pawn Scripting - Replies (1)

Can someone please help me with this? Thank you.



"fatal error 100: cannot read from file: "y_va/impl"



[Image: RAiMWj2.png]