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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,771
» Latest member: christian-gaming
» Forum threads: 2,368
» Forum posts: 12,324

Full Statistics

Online Users
There are currently 240 online users.
» 0 Member(s) | 236 Guest(s)
Bing, Google, Yandex, Baidu

Latest Threads
What would you start?
Forum: Life
Last Post: HELLHOUND
2025-12-14, 10:32 PM
» Replies: 5
» Views: 10,287
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-14, 02:06 PM
» Replies: 3
» Views: 398
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-13, 07:16 PM
» Replies: 4
» Views: 758
LCSHosting.eu - Free SA-M...
Forum: Tech
Last Post: LCSLaces
2025-12-12, 04:57 PM
» Replies: 0
» Views: 64
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-12-12, 03:29 PM
» Replies: 0
» Views: 45
Infamous Roleplay
Forum: Advertisements
Last Post: JakeFalcone
2025-12-11, 11:34 PM
» Replies: 0
» Views: 54
The server didn't respond...
Forum: Support
Last Post: HELLHOUND
2025-12-11, 01:17 PM
» Replies: 1
» Views: 197
Grand Gang War (GGW)
Forum: Advertisements
Last Post: piroballu
2025-12-09, 01:16 PM
» Replies: 1
» Views: 254
Zona América del Sur DM+ ...
Forum: Advertisements
Last Post: kevinberriosflores
2025-12-05, 10:59 PM
» Replies: 0
» Views: 82
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: ejtamovic
2025-12-05, 02:06 PM
» Replies: 0
» Views: 142

 
  Lagshot
Posted by: Ezio_Auditore - 2021-02-07, 08:04 PM - Forum: Questions and Suggestions - No Replies

Something that I always wondered about: will open.mp "feature" the well known lagshot? Lots of SA:MP players, especially the ones from the A/D scene, still play with this which is more than a bug than anything else but still, since open.mp will try to be as much backwards compatible as possible, will this be replicated or there will be only the skinhit? Thank you.


  Rent Car System
Posted by: Flint - 2021-02-07, 03:23 PM - Forum: Videos and Screenshots - Replies (4)

opinions??



https://youtu.be/IKxShj8HbMA


  PlayerTextDrawSetSelectable [SOLVED]
Posted by: Torque - 2021-02-07, 11:21 AM - Forum: Pawn Scripting - Replies (1)

I don't understand why the textdraw isn't selectable. Here's my script for reference. I don't even get a hover color. All of the SELECT buttons should be selectable but they're not.



Code:
CharSelect[playerid][10] = CreatePlayerTextDraw(playerid, 170.000000, 260.000000, "SELECT");

PlayerTextDrawAlignment(playerid, CharSelect[playerid][10], 2);

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

PlayerTextDrawFont(playerid, CharSelect[playerid][10], 1);

PlayerTextDrawLetterSize(playerid, CharSelect[playerid][10], 0.219999, 0.699998);

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

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

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

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

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

PlayerTextDrawBoxColor(playerid, CharSelect[playerid][10], 645404415);

PlayerTextDrawTextSize(playerid, CharSelect[playerid][10], 0.000000, 63.000000);

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





Code:
forward ShowCharacterMenu(playerid);

public ShowCharacterMenu(playerid)

{

SelectTextDraw(playerid, 0x00FF00FF);



PlayerTextDrawSetString(playerid, CharSelect[playerid][15], (!PlayerCharacters[playerid][0][0]) ? ("Empty Slot") : (PlayerCharacters[playerid][0]));

PlayerTextDrawSetPreviewModel(playerid, CharSelect[playerid][1], PlayerCharactersModel[playerid][0]);

PlayerTextDrawSetString(playerid, CharSelect[playerid][2], (!PlayerCharacters[playerid][1][0]) ? ("Empty Slot") : (PlayerCharacters[playerid][1]));

PlayerTextDrawSetPreviewModel(playerid, CharSelect[playerid][3], PlayerCharactersModel[playerid][1]);

PlayerTextDrawSetString(playerid, CharSelect[playerid][4], (!PlayerCharacters[playerid][2][0]) ? ("Empty Slot") : (PlayerCharacters[playerid][2]));

PlayerTextDrawSetPreviewModel(playerid, CharSelect[playerid][5], PlayerCharactersModel[playerid][2]);

PlayerTextDrawSetString(playerid, CharSelect[playerid][6], (!PlayerCharacters[playerid][3][0]) ? ("Empty Slot") : (PlayerCharacters[playerid][3]));

PlayerTextDrawSetPreviewModel(playerid, CharSelect[playerid][7], PlayerCharactersModel[playerid][3]);

PlayerTextDrawSetString(playerid, CharSelect[playerid][8], (!PlayerCharacters[playerid][4][0]) ? ("Empty Slot") : (PlayerCharacters[playerid][4]));

PlayerTextDrawSetPreviewModel(playerid, CharSelect[playerid][9], PlayerCharactersModel[playerid][4]);



for(new i; i < 16; i)

{

PlayerTextDrawShow(playerid, CharSelect[playerid][i]);

}

return 1;

}


  ENCODING PROBLEM?
Posted by: Zett0x - 2021-02-07, 04:03 AM - Forum: Pawn Scripting - No Replies

Hello everyone,

i used PAWNO iDE, and today i tried to change it: i installed pawn tools for vscode and i was able to compile the code. Everything okay, the problem is, when i open the file .pwn with visual studio, suddendly the spanish characteres like "?,!,?,?,?,?,?" didnt appear, except of these things, i could see a "?" character.?

Someone can help me? vscode open the files with UTF8 encoding.
Thank you very much.


SOLVED, I WITH SUBLIME TEXT I DONT HAVE THAT ISSUE


  fixes.inc in OpenMP?
Posted by: JR_Junior - 2021-02-06, 04:58 PM - Forum: Questions and Suggestions - Replies (1)

My question I don't know if it has already been asked and answered, but I want to know if it will be necessary to "fixes.inc" in OpenMP or will these bugs be fixed?


  POKE-BALL, CUP OF TEA, MAZE & PAC-MAN
Posted by: Name - 2021-02-06, 09:34 AM - Forum: Videos and Screenshots - Replies (3)

FOUR RANDOM FREEROAM MAPS?

Four random freeroam maps, I guess? When posting these, some of the maps are new and some of them are old. Old ones where posted on samp forums before, but since they are like gone? or atleast most of you never saw them, I thought why not share them again right? Plus I add new maps with old maps as well, for those who probably saw old ones, can enjoy also new ones. I would appreacite if you leave a feedback, your opinions and suggestions what i could map next or what to keep in mind for next mapping projects.?



POKE-BALL

Name: POKE-BALL

Map type: Exterior

Author of map: MrName (me)

Number of objects: 10

Number of textures: 12

Removed SA objects: 0

Custom objects: 0

Location of map: Willowfield / Ocean Docks, Los Santos

Map editor used: MSR's Mapping system

Reference: Pokemon series

About map: Huge poke ball in sewers of Los Santos.

Screenshots:



[Image: 5L91XsOl.jpg]

[Image: jve0CW4l.jpg]

[Image: DgzYes1l.jpg]




CUP OF TEA

Name: Cup of tea

Map type: Exterior

Author of map: MrName (me)

Number of objects: 26

Number of textures: 38

Removed SA objects: 0

Custom objects: 0

Location of map: Greenglass college, Las Venturas

Map editor used: MSR's mapping system

Reference: A cup of tea

About map: Big cup of tea, to warm up your heart, when you are feeling down. Smile more. :3

Screenshots:



[Image: Fwck2JPl.jpg]

[Image: l4c4u1kl.jpg]

[Image: YPs9oWHl.jpg]

[Image: rNeQAB2l.jpg]





BUSH MAZE

Name: Bush maze

Map type: Exterior

Author of map: MrName (me)

Number of objects: 491

Number of textures: 921 and 2 texts

Removed SA objects: 0

Custom objects: 0

Location of map: The Farm, Flint County, San Fierro

Map editor used: MSR's mapping system

Reference: unknown

About map: 16x16 bush maze in the middle of "The Farm" in Flint County, red flare is middle of maze. Medium level maze.?

Screenshots:



[Image: 7OhXxDTl.jpg]

[Image: tUFN8Zwl.jpg]

[Image: NrVaHA0l.jpg]

[Image: 6vwX3XDl.jpg]

[Image: EiS6Q1Ql.jpg]

[Image: hNBZUGxl.jpg]

[Image: NOqK0tbl.jpg]





PAC-MAN

Name: Pac-man

Map type: Exterior

Author of map: MrName (me)

Number of objects: 49

Number of textures: 55

Removed SA objects: 0

Custom objects: 0

Location of map: Bayside, northwestern corner of Tierra Robada

Map editor used: MSR's mapping system

Reference: PAC-MAN game

About map:??Big hungry pac-man, trying to catch white balls.. (whoops)

Screenshots:



[Image: h9LKomNl.jpg]

[Image: NZTjBLBl.jpg]

[Image: JrSvDmrl.jpg]

[Image: tAqAc7xl.jpg]

[Image: D8Ovzs5l.jpg]





Okay, that is it for now, lemme know what you think! Don't forget to leave feedback, your opinions and suggestions for the future projects! Very Appreciated! Much love! :333





  How to detect sampcac
Posted by: sampaux - 2021-02-06, 07:01 AM - Forum: Pawn Scripting - Replies (1)

I need a script to detect if the player is using sampcac

I try to use sampcac.inc and sampac.inc, but I have no idea how to use this


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;
}