Й um menu, ve se й isso que vocк pediu ...
pawn Код:
// Topo
new bool:carro[MAX_PLAYERS];
new Menu:menu;
new Menu:tuning;
new Menu:rodas;
new Menu:paintjob;
new Menu:nitro;
new Menu:principal;
new Menu:armas;
new Menu:manuais;
new Menu:equip;
new Menu:pistolas;
new Menu:explosion;
new Menu:telemenu;
new Menu:teleprox;
//E a public
public OnPlayerSelectedMenuRow(playerid, row)
{
new Menu:current;
new vehicleid = GetPlayerVehicleID(playerid);
current = GetPlayerMenu(playerid);
if(current == tuning)
{
switch(row)
{
case 0: // Rodas
{
HideMenuForPlayer(tuning, playerid);
ShowMenuForPlayer(rodas, playerid);
TogglePlayerControllable(playerid, 0);
}
case 1: // PaintJob
{
HideMenuForPlayer(tuning, playerid);
ShowMenuForPlayer(paintjob, playerid);
TogglePlayerControllable(playerid, 0);
}
case 2: // Nitro
{
HideMenuForPlayer(tuning, playerid);
ShowMenuForPlayer(nitro, playerid);
TogglePlayerControllable(playerid, 0);
}
case 3: // AutoTuning
{
AddVehicleComponent(vehicleid, 1087); // Hydraulics
AddVehicleComponent(vehicleid, 1010); // Nitro
AddVehicleComponent(vehicleid, 1079); // Cutter
ChangeVehiclePaintjob(vehicleid, 2); // Paintjob
ChangeVehicleColor(vehicleid, 1, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
TogglePlayerControllable(playerid, 1);
}
case 4: // Suspensao
{
AddVehicleComponent(vehicleid, 1087); // Hydraulics
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 5:
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == rodas)
{
switch(row)
{
case 0: // Shadow
{
AddVehicleComponent(vehicleid, 1073); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 1: // Mega
{
AddVehicleComponent(vehicleid, 1074); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 2: // Rimshine
{
AddVehicleComponent(vehicleid, 1075); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 3: // Wires
{
AddVehicleComponent(vehicleid, 1076); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 4: // Classic
{
AddVehicleComponent(vehicleid, 1077); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 5: // Twist
{
AddVehicleComponent(vehicleid, 1078); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 6: // Cutter
{
AddVehicleComponent(vehicleid, 1079); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 7: // Switch
{
AddVehicleComponent(vehicleid, 1080); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 8: // Grove
{
AddVehicleComponent(vehicleid, 1081); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 9: // Import
{
AddVehicleComponent(vehicleid, 1082); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 10: // Atomic
{
AddVehicleComponent(vehicleid, 1085); // Wheels
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 11: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == paintjob)
{
switch(row)
{
case 0: // PaintJob 1
{
ChangeVehiclePaintjob(vehicleid, 0);
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 1: // PaintJob 2
{
ChangeVehiclePaintjob(vehicleid, 1);
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 2: // PaintJob 3
{
ChangeVehiclePaintjob(vehicleid, 2);
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 3: // PaintJob 4
{
ChangeVehiclePaintjob(vehicleid, 3);
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 4: // PaintJob 5
{
ChangeVehiclePaintjob(vehicleid, 4);
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 5: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == nitro)
{
switch(row)
{
case 0: // Nitro 2x
{
AddVehicleComponent(vehicleid, 1009); // Nitro
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 1: // Nitro 5x
{
AddVehicleComponent(vehicleid, 1008); // Nitro
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 2: // Nitro 10x
{
AddVehicleComponent(vehicleid, 1010); // Nitro
TogglePlayerControllable(playerid, 1);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
}
case 3: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == principal)
{
switch(row)
{
case 0: // Armas de Fogo
{
HideMenuForPlayer(principal, playerid);
ShowMenuForPlayer(armas, playerid);
TogglePlayerControllable(playerid, 0);
}
case 1: // Armas Manuais
{
HideMenuForPlayer(principal, playerid);
ShowMenuForPlayer(manuais, playerid);
TogglePlayerControllable(playerid, 0);
}
case 2: // Equipamentos
{
HideMenuForPlayer(principal, playerid);
ShowMenuForPlayer(equip, playerid);
TogglePlayerControllable(playerid, 0);
}
case 3: // Pistolas
{
HideMenuForPlayer(principal, playerid);
ShowMenuForPlayer(pistolas, playerid);
TogglePlayerControllable(playerid, 0);
}
case 4: // Explosivos
{
HideMenuForPlayer(principal, playerid);
ShowMenuForPlayer(explosion, playerid);
TogglePlayerControllable(playerid, 0);
}
case 5: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == armas)
{
switch(row)
{
case 0: // M4
{
GivePlayerWeapon(playerid, 31, 99999);
TogglePlayerControllable(playerid, 1);
}
case 1: // AK47
{
GivePlayerWeapon(playerid, 30, 99999);
TogglePlayerControllable(playerid, 1);
}
case 2: // Tec9
{
GivePlayerWeapon(playerid, 32, 99999);
TogglePlayerControllable(playerid, 1);
}
case 3: // SMG
{
GivePlayerWeapon(playerid, 29, 99999);
TogglePlayerControllable(playerid, 1);
}
case 4: // Micro SMG
{
GivePlayerWeapon(playerid, 28, 99999);
TogglePlayerControllable(playerid, 1);
}
case 5: // Country Rifle
{
GivePlayerWeapon(playerid, 33, 99999);
TogglePlayerControllable(playerid, 1);
}
case 6: // Sniper Rifle
{
GivePlayerWeapon(playerid, 34, 99999);
TogglePlayerControllable(playerid, 1);
}
case 7: // Rocket Launcher
{
GivePlayerWeapon(playerid, 35, 99999);
TogglePlayerControllable(playerid, 1);
}
case 8: // HS Rocket Launcher
{
GivePlayerWeapon(playerid, 36, 99999);
TogglePlayerControllable(playerid, 1);
}
case 9: // Minigun
{
GivePlayerWeapon(playerid, 38, 99999);
TogglePlayerControllable(playerid, 1);
}
case 10: // Sawn-off Shotgun
{
GivePlayerWeapon(playerid, 26, 99999);
TogglePlayerControllable(playerid, 1);
}
case 11: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == manuais)
{
switch(row)
{
case 0: // Brass Knuckles
{
GivePlayerWeapon(playerid, 1, 1);
TogglePlayerControllable(playerid, 1);
}
case 1: // Golf Club
{
GivePlayerWeapon(playerid, 2, 1);
TogglePlayerControllable(playerid, 1);
}
case 2: // Nite Stick
{
GivePlayerWeapon(playerid, 3, 1);
TogglePlayerControllable(playerid, 1);
}
case 3: // Knife
{
GivePlayerWeapon(playerid, 4, 1);
TogglePlayerControllable(playerid, 1);
}
case 4: // Baseball Bat
{
GivePlayerWeapon(playerid, 5, 1);
TogglePlayerControllable(playerid, 1);
}
case 5: // Shovel
{
GivePlayerWeapon(playerid, 6, 1);
TogglePlayerControllable(playerid, 1);
}
case 6: // Pool Cue
{
GivePlayerWeapon(playerid, 7, 1);
TogglePlayerControllable(playerid, 1);
}
case 7: // Katana
{
GivePlayerWeapon(playerid, 8, 1);
TogglePlayerControllable(playerid, 1);
}
case 8: // Chainsaw
{
GivePlayerWeapon(playerid, 9, 1);
TogglePlayerControllable(playerid, 1);
}
case 9: // Flowers
{
GivePlayerWeapon(playerid, 14, 1);
TogglePlayerControllable(playerid, 1);
}
case 10: // Purple Dildo
{
GivePlayerWeapon(playerid, 10, 1);
TogglePlayerControllable(playerid, 1);
}
case 11: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == equip)
{
switch(row)
{
case 0: // Colete
{
SetPlayerArmour(playerid, 100);
TogglePlayerControllable(playerid, 1);
}
case 1: // Paraquedas
{
GivePlayerWeapon(playerid, 46, 1);
TogglePlayerControllable(playerid, 1);
}
case 2: // Spraycan
{
GivePlayerWeapon(playerid, 41, 99999);
TogglePlayerControllable(playerid, 1);
}
case 3: // Fire Extinguisher
{
GivePlayerWeapon(playerid, 42, 99999);
TogglePlayerControllable(playerid, 1);
}
case 4: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == pistolas)
{
switch(row)
{
case 0: // 9mm
{
GivePlayerWeapon(playerid, 22, 99999);
TogglePlayerControllable(playerid, 1);
}
case 1: // Silenced 9mm
{
GivePlayerWeapon(playerid, 23, 99999);
TogglePlayerControllable(playerid, 1);
}
case 2: // Desert Eagle
{
GivePlayerWeapon(playerid, 24, 99999);
TogglePlayerControllable(playerid, 1);
}
case 3: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == explosion)
{
switch(row)
{
case 0: // Grenade
{
GivePlayerWeapon(playerid, 16, 99999);
TogglePlayerControllable(playerid, 1);
}
case 1: // Tear Gas
{
GivePlayerWeapon(playerid, 17, 99999);
TogglePlayerControllable(playerid, 1);
}
case 2: // Molotov Cocktail
{
GivePlayerWeapon(playerid, 18, 99999);
TogglePlayerControllable(playerid, 1);
}
case 3: // Flamethrower
{
GivePlayerWeapon(playerid, 37, 99999);
TogglePlayerControllable(playerid, 1);
}
case 4: // Satchel Charge
{
GivePlayerWeapon(playerid, 39, 99999);
TogglePlayerControllable(playerid, 1);
}
case 5: // Detonator
{
GivePlayerWeapon(playerid, 40, 99999);
TogglePlayerControllable(playerid, 1);
}
case 6: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == menu)
{
switch(row)
{
case 0: // Infernus
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(411, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) Infernus criado com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 1: // Elegy
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(562, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) Elegy criado com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 2: // Sultan
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(560, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) Sultan criado com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 3: // NRG-500
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(522, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) NRG-500 criado com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 4: // Turismo
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(451, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) Turismo criado com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 5: // BMX
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(481, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) BMX criada com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 6: // Super GT
{
new Float:va;
new Float:vx, Float:vy, Float:vz;
GetPlayerPos(playerid, vx, vy, vz);
GetPlayerFacingAngle(playerid, va);
vx += (5 * floatsin(-va, degrees));
vy += (5 * floatcos(-va, degrees));
vehid = CreateVehicle(506, vx, vy, vz, 0.0, 0, 0, 6400);
TogglePlayerControllable(playerid, 1);
SendClientMessage(playerid, 0xFFFFFFAA, "(INFO) Super GT criado com sucesso!");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
PutPlayerInVehicle(playerid, vehid, 0);
carro[vehid] = true;
}
case 7: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == telemenu)
{
switch(row)
{
case 0: // Grove Street
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2493.9133, -1682.3986, 13.3382);
SetVehiclePos(vehicleid, 2493.9133, -1682.3986, 13.3382);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 1: // Jizzys
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -2617.5156, 1390.6353, 7.1105);
SetVehiclePos(vehicleid, -2617.5156, 1390.6353, 7.1105);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 2: // Starfish Tower
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1541.2833, -1362.4741, 329.6457);
SetVehiclePos(vehicleid, 1541.2833, -1362.4741, 329.6457);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 3: // Santa Maria
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 315.6610, -1773.5797, 4.7183);
SetVehiclePos(vehicleid, 315.6610, -1773.5797, 4.7183);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 4: // Monte Chilliad
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -2244.4878, -1721.4576, 480.3720);
SetVehiclePos(vehicleid, -2244.4878, -1721.4576, 480.3720);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 5: // Los Santos
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1480.1505, -1615.4169, 14.0393);
SetVehiclePos(vehicleid, 1480.1505, -1615.4169, 14.0393);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 6: // Las Venturas
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2029.8303, 1543.7098, 10.8203);
SetVehiclePos(vehicleid, 2029.8303, 1543.7098, 10.8203);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 7: // San Fierro
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -1982.6979, 296.3646, 35.1002);
SetVehiclePos(vehicleid, -1982.6979, 296.3646, 35.1002);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 8: // Fort Carson
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 171.9422, 1213.6045, 21.8539);
SetVehiclePos(vehicleid, 171.9422, 1213.6045, 21.8539);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 9: // Vinewood
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1497.5532, -707.6391, 94.7500);
SetVehiclePos(vehicleid, 1497.5532, -707.6391, 94.7500);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 10: // Prуxima
{
HideMenuForPlayer(telemenu, playerid);
ShowMenuForPlayer(teleprox, playerid);
TogglePlayerControllable(playerid, 0);
}
case 11: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
if(current == teleprox)
{
switch(row)
{
case 0: // Pershing Square
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1511.8770, -1661.2853, 13.5469);
SetVehiclePos(vehicleid, 1511.8770, -1661.2853, 13.5469);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 1: // Richman
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 597.6629, -1241.3900, 18.1275);
SetVehiclePos(vehicleid, 597.6629, -1241.3900, 18.1275);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 2: // Maria Beach
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 491.7868, -1823.2258, 5.5028);
SetVehiclePos(vehicleid, 491.7868, -1823.2258, 5.5028);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 3: // Ocean Docks
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2771.1060, -2417.5828, 13.6405);
SetVehiclePos(vehicleid, 2771.1060, -2417.5828, 13.6405);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 4: // Dillimore
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 661.0361, -573.5891, 16.3359);
SetVehiclePos(vehicleid, 661.0361, -573.5891, 16.3359);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 5: // Palomino Creek
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 2269.6877, -75.0973, 26.7724);
SetVehiclePos(vehicleid, 2269.6877, -75.0973, 26.7724);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 6: // Blueberry
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 198.4328, -252.1696, 1.5781);
SetVehiclePos(vehicleid, 198.4328, -252.1696, 1.5781);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 7: // MontGomery
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, 1242.2875, 328.5506, 19.7555);
SetVehiclePos(vehicleid, 1242.2875, 328.5506, 19.7555);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 8: // SF Stadium
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -2159.3616, -407.8362, 35.3359);
SetVehiclePos(vehicleid, -2159.3616, -407.8362, 35.3359);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 9: // Missionary Hill
{
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, -2521.4055, -623.5245, 132.7727);
SetVehiclePos(vehicleid, -2521.4055, -623.5245, 132.7727);
PutPlayerInVehicle(playerid, vehicleid, 0);
TogglePlayerControllable(playerid, 1);
}
case 10: // Voltar
{
HideMenuForPlayer(teleprox, playerid);
ShowMenuForPlayer(telemenu, playerid);
TogglePlayerControllable(playerid, 1);
}
case 11: // Sair
{
TogglePlayerControllable(playerid, 1);
}
}
}
return 1;
}