SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 15/11/2009, 05:09 PM   #1
Sfinx_17
Huge Clucker
 
Join Date: Jun 2009
Posts: 321
Reputation: 3
Default creating a menu when Gamemode starts

how to create a menu please somewone tell me

this is the code what i copy paste it from wiki about "CreateMenu"

Code:
new Menu:examplemenu;
  examplemenu = CreateMenu("Your Menu", 2, 200.0, 100.0, 150.0, 150.0);
ok where to put that code in my script? please help
Sfinx_17 is offline  
Old 15/11/2009, 05:11 PM   #2
JakeB
Little Clucker
 
Join Date: Sep 2009
Posts: 17
Reputation: 0
Default Re: creating a menu when Gamemode starts

Add that to OnGameModeInit.
JakeB is offline  
Old 15/11/2009, 05:38 PM   #3
Sfinx_17
Huge Clucker
 
Join Date: Jun 2009
Posts: 321
Reputation: 3
Default Re: creating a menu when Gamemode starts

ok but why i get errors ?

this is my script where i put the code
Code:
public OnGameModeInit()
{
	// Don't use these lines if it's a filterscript
	SetGameModeText("Freeroam fun server");
	AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); // CJ Skin
	SetGravity(0.008);
	SetWorldTime(2); //Ora globului San Andreas
	SetWeather(11); // Vremea
	UsePlayerPedAnims(); // Comanda asta e pentrtu toate clasele de skinuri sa umble rapid ca si Cj
	AddStaticPickup(1242, 2, 2069.0610, 1864.4707, 11.9420 );
	AddStaticPickup(1240, 2, 2100.2124,1277.1389,10.8203 );
	AddStaticPickup(1240, 2, 254.1715,-43.6111,1002.0234 ); // asta e armura de la aeroportul parasit pozitia
	AddStaticPickup(1242, 2, 412.6780,2536.2051,19.1484 );
	AddStaticPickup(370, 2, 238.8329,2637.7832,17.0783 );
  AddPlayerClass(113, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(248, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(28, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(88, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(89, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(185, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(188, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(216, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(206, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(214, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(215, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(221, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(226, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(223, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(228, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(235, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(236, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(230, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(239, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(249, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(57, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(62, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
	AddPlayerClass(285, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 180, 31, 150, 26, 50); // skin swat
	AddPlayerClass(190, 1958.3783, 1343.1572, 15.3746, 269.1425, 32, 150, 4, 0, 0, 0);
	AddPlayerClass(191, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 150, 26, 100, 0, 0);
	AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(171, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(176, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(177, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(155, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(70, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(127, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(126, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(125, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(112, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(111, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(144, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(156, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(180, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(182, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(183, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(263, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(269, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
	AddPlayerClass(128, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou verde
	AddPlayerClass(129, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca imbracata in rosu
	AddPlayerClass(132, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou alb
	AddPlayerClass(133, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou maro
	AddPlayerClass(157, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu tricou verde
	AddPlayerClass(158, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu paie in cap
	AddPlayerClass(159, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran in salopeta
	AddPlayerClass(160, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran in pantaloni scurti
	AddPlayerClass(198, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu sapca de cowboy
	AddPlayerClass(199, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu haina cu flori albe
	AddPlayerClass(161, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu sapca de cowboy
	AddPlayerClass(162, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran in blugi fara tricou
	AddPlayerClass(200, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu par ciufulit
	AddPlayerClass(201, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu cipilica
	AddPlayerClass(202, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu cipilica
	AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca grasa cu tricou alb
	AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou albastru si cipilica albastra
	AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Serif
	AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin cowboy cu cizme rosii
	AddStaticVehicle(568, 376.1344,2598.2725,16.4918,234.2899, 6, 6);
	AddStaticVehicle(405, 2018.1678,1534.7693,10.8227,266.3374, 0, 0);
	AddStaticVehicle(411, 2233.5974,1285.8698,10.8203,357.2951, 1, 1);
	AddStaticVehicle(542, 2179.7876,1515.7462,10.5474,45.8751, 53, 53);
	AddStaticVehicle(603, 2186.3105,1975.3870,10.5634,270.0641, 1, 1);
	AddStaticVehicle(492, 2186.2493,1978.9310,10.5638,271.3898, 16, 16);
	AddStaticVehicle(467, 2185.8779,2004.0477,10.5637,269.1053, 6, 6);
	AddStaticVehicle(465, 2177.6140,2413.1638,73.0339,181.9487, 2, 2);
	AddStaticVehicle(487, 2092.6753,2415.1423,74.5786,268.9385, 13, 13);
	AddStaticVehicle(548, 1534.2737,1232.8140,10.8125,2.0852, 26, 26);
	AddStaticVehicle(548, 1545.5178,1232.9492,10.8125,357.6985, 26, 26);
	AddStaticVehicle(521, 2032.3070,1007.7101,10.5474,181.8474, 6, 6);
	AddStaticVehicle(451, 1913.2318,709.2695,10.6597,1.0140, 0, 0);
	AddStaticVehicle(506, 2130.7446,657.1358,11.1954,358.6018, 53, 53);
	AddStaticVehicle(448, 2016.8381,1104.3510,10.6561,120.4826, 42, 42); //Scuter Pizza
	AddStaticVehicle(409, 2163.3135,1676.6621,10.6567,357.9982, 0, 0); // Masina Limuzina
	AddStaticVehicle(420, 2100.7366,1410.0220,10.6954,1.3176, 29, 29); // Masina Taxi
	AddStaticVehicle(429, 2103.7498,1410.0851,10.6953,0.8515, 2, 2); // Masina Viper
	AddStaticVehicle(477, 2107.0940,1410.1279,10.6952,0.6774, 53, 53); // Chevrolette Corvette
	AddStaticVehicle(506, 2116.5991,1397.5900,10.6955,179.6629, 44, 44); // Masina Super GT
	AddStaticVehicle(546, 2119.8779,1397.7623,10.6857,182.0039, 3, 3); // Masina Intruder o rabla
	AddStaticVehicle(562, 2129.4878,1397.0645,10.6889,179.9572, 27, 27); // Masina Elegy
	AddStaticVehicle(420, 1695.4193,1298.0690,10.5745,0.9996, 29, 29); // Masina Taxi
	AddStaticVehicle(420, 1692.2761,1298.1399,10.5749,0.5949, 29, 29); // Masina Taxi
	AddStaticVehicle(461, 1824.6866,1458.2429,8.7344,185.7782, 1, 1); // Motor PCJ-600
	AddStaticVehicle(598, 2291.1384,2476.8999,10.5745,179.7937, 53, 53); // Masina de politie LV
	AddStaticVehicle(477, 2471.2510,1357.6770,10.5474,179.0829, 1, 1); // Masina Chevrolette Corvette
	AddStaticVehicle(477, 2468.0664,1357.4587,10.5474,180.0824, 19, 19); // Masina Chevrolett Corvette
  AddStaticVehicle(432,297.5786,2013.2075,17.3954,272.0269,53,53); // Tank de la Baza Militara
  AddStaticVehicle(432,304.7040,1989.8191,17.3973,269.0556,53,53); // Primu Tank de la baza Aereana
  AddStaticVehicle(532,-250.8527,-1378.6841,9.9664,92.5504,53,53); // Combina
  AddStaticVehicle(531,-586.5847,-1508.1537,9.9380,246.1800,53,53);// Tractor
	return 1;
}
  new Menu:examplemenu;
  examplemenu = CreateMenu("Your Menu", 2, 200.0, 100.0, 150.0, 150.0);
and this is my error what i get when compile
Code:
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(157) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(371) : warning 203: symbol is never used: "examplemenu"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Sfinx_17 is offline  
Old 15/11/2009, 05:51 PM   #4
wert
Little Clucker
 
wert's Avatar
 
Join Date: Apr 2009
Posts: 24
Reputation: 0
Default Re: creating a menu when Gamemode starts

put that:


new Menu:examplemenu;
examplemenu = CreateMenu("Your Menu", 2, 200.0, 100.0, 150.0, 150.0);


inside that OnGameModeInit
wert is offline  
Old 15/11/2009, 08:57 PM   #5
Sfinx_17
Huge Clucker
 
Join Date: Jun 2009
Posts: 321
Reputation: 3
Default Re: creating a menu when Gamemode starts

is it allready! look again in my code above you will see at finish that exist my code there allready plz help me
Sfinx_17 is offline  
Old 15/11/2009, 10:36 PM   #6
(.Aztec);
Huge Clucker
 
Join Date: Mar 2009
Posts: 425
Reputation: 2
Default Re: creating a menu when Gamemode starts

Put

pawn Code:
new Menu:examplemenu;

at the very top, below the #define's.
__________________
Account Inactive

(.Aztec); will no longer be used by me. I am changing my username to an old forum account i've had registered for a while, but never used.

My username has been changed to Sky4D
(.Aztec); is offline  
Old 15/11/2009, 11:00 PM   #7
Donuts
Huge Clucker
 
Donuts's Avatar
 
Join Date: Jun 2008
Posts: 225
Reputation: 4
Default Re: creating a menu when Gamemode starts

pawn Code:
new Menu:examplemenu;

public OnGameModeInit()
{
    examplemenu = CreateMenu("Your Menu", 2, 200.0, 100.0, 150.0, 150.0);


    // Don't use these lines if it's a filterscript
    SetGameModeText("Freeroam fun server");
    AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0); // CJ Skin
    SetGravity(0.008);
    SetWorldTime(2); //Ora globului San Andreas
    SetWeather(11); // Vremea
    UsePlayerPedAnims(); // Comanda asta e pentrtu toate clasele de skinuri sa umble rapid ca si Cj
    AddStaticPickup(1242, 2, 2069.0610, 1864.4707, 11.9420 );
    AddStaticPickup(1240, 2, 2100.2124,1277.1389,10.8203 );
    AddStaticPickup(1240, 2, 254.1715,-43.6111,1002.0234 ); // asta e armura de la aeroportul parasit pozitia
    AddStaticPickup(1242, 2, 412.6780,2536.2051,19.1484 );
    AddStaticPickup(370, 2, 238.8329,2637.7832,17.0783 );
  AddPlayerClass(113, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(248, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(28, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(24, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(88, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(89, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(21, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(185, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(188, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(19, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(216, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(20, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(206, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(214, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(215, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(221, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(226, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(223, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(228, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(235, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(236, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(230, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(239, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(249, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(50, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(57, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(61, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(62, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
    AddPlayerClass(285, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 180, 31, 150, 26, 50); // skin swat
    AddPlayerClass(190, 1958.3783, 1343.1572, 15.3746, 269.1425, 32, 150, 4, 0, 0, 0);
    AddPlayerClass(191, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 150, 26, 100, 0, 0);
    AddPlayerClass(68, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(171, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(176, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(177, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(155, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(70, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(127, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(126, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(125, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(112, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(111, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(144, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(156, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(17, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(170, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(180, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(182, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(54, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(183, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(184, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(263, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(269, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0);
    AddPlayerClass(128, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou verde
    AddPlayerClass(129, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca imbracata in rosu
    AddPlayerClass(132, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou alb
    AddPlayerClass(133, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou maro
    AddPlayerClass(157, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu tricou verde
    AddPlayerClass(158, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu paie in cap
    AddPlayerClass(159, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran in salopeta
    AddPlayerClass(160, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran in pantaloni scurti
    AddPlayerClass(198, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu sapca de cowboy
    AddPlayerClass(199, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu haina cu flori albe
    AddPlayerClass(161, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu sapca de cowboy
    AddPlayerClass(162, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran in blugi fara tricou
    AddPlayerClass(200, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu par ciufulit
    AddPlayerClass(201, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca cu cipilica
    AddPlayerClass(202, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu cipilica
    AddPlayerClass(31, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taranca grasa cu tricou alb
    AddPlayerClass(32, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Taran cu tricou albastru si cipilica albastra
    AddPlayerClass(33, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin Serif
    AddPlayerClass(34, 1958.3783, 1343.1572, 15.3746, 269.1425, 28, 20, 22, 100, 0, 0); // Skin cowboy cu cizme rosii
    AddStaticVehicle(568, 376.1344,2598.2725,16.4918,234.2899, 6, 6);
    AddStaticVehicle(405, 2018.1678,1534.7693,10.8227,266.3374, 0, 0);
    AddStaticVehicle(411, 2233.5974,1285.8698,10.8203,357.2951, 1, 1);
    AddStaticVehicle(542, 2179.7876,1515.7462,10.5474,45.8751, 53, 53);
    AddStaticVehicle(603, 2186.3105,1975.3870,10.5634,270.0641, 1, 1);
    AddStaticVehicle(492, 2186.2493,1978.9310,10.5638,271.3898, 16, 16);
    AddStaticVehicle(467, 2185.8779,2004.0477,10.5637,269.1053, 6, 6);
    AddStaticVehicle(465, 2177.6140,2413.1638,73.0339,181.9487, 2, 2);
    AddStaticVehicle(487, 2092.6753,2415.1423,74.5786,268.9385, 13, 13);
    AddStaticVehicle(548, 1534.2737,1232.8140,10.8125,2.0852, 26, 26);
    AddStaticVehicle(548, 1545.5178,1232.9492,10.8125,357.6985, 26, 26);
    AddStaticVehicle(521, 2032.3070,1007.7101,10.5474,181.8474, 6, 6);
    AddStaticVehicle(451, 1913.2318,709.2695,10.6597,1.0140, 0, 0);
    AddStaticVehicle(506, 2130.7446,657.1358,11.1954,358.6018, 53, 53);
    AddStaticVehicle(448, 2016.8381,1104.3510,10.6561,120.4826, 42, 42); //Scuter Pizza
    AddStaticVehicle(409, 2163.3135,1676.6621,10.6567,357.9982, 0, 0); // Masina Limuzina
    AddStaticVehicle(420, 2100.7366,1410.0220,10.6954,1.3176, 29, 29); // Masina Taxi
    AddStaticVehicle(429, 2103.7498,1410.0851,10.6953,0.8515, 2, 2); // Masina Viper
    AddStaticVehicle(477, 2107.0940,1410.1279,10.6952,0.6774, 53, 53); // Chevrolette Corvette
    AddStaticVehicle(506, 2116.5991,1397.5900,10.6955,179.6629, 44, 44); // Masina Super GT
    AddStaticVehicle(546, 2119.8779,1397.7623,10.6857,182.0039, 3, 3); // Masina Intruder o rabla
    AddStaticVehicle(562, 2129.4878,1397.0645,10.6889,179.9572, 27, 27); // Masina Elegy
    AddStaticVehicle(420, 1695.4193,1298.0690,10.5745,0.9996, 29, 29); // Masina Taxi
    AddStaticVehicle(420, 1692.2761,1298.1399,10.5749,0.5949, 29, 29); // Masina Taxi
    AddStaticVehicle(461, 1824.6866,1458.2429,8.7344,185.7782, 1, 1); // Motor PCJ-600
    AddStaticVehicle(598, 2291.1384,2476.8999,10.5745,179.7937, 53, 53); // Masina de politie LV
    AddStaticVehicle(477, 2471.2510,1357.6770,10.5474,179.0829, 1, 1); // Masina Chevrolette Corvette
    AddStaticVehicle(477, 2468.0664,1357.4587,10.5474,180.0824, 19, 19); // Masina Chevrolett Corvette
    AddStaticVehicle(432,297.5786,2013.2075,17.3954,272.0269,53,53); // Tank de la Baza Militara
    AddStaticVehicle(432,304.7040,1989.8191,17.3973,269.0556,53,53); // Primu Tank de la baza Aereana
    AddStaticVehicle(532,-250.8527,-1378.6841,9.9664,92.5504,53,53); // Combina
    AddStaticVehicle(531,-586.5847,-1508.1537,9.9380,246.1800,53,53);// Tractor
    return 1;
}


But that menu won't show up for players that connect, so please you better read this tutorial.
__________________
Need help with something? Email me donuts@ng-gaming.net

Daniel Varela
Scripter
Next Generation Gaming LLC

More than Next Generation Roleplay, many more games, it's a great community, try it now.
Visit us at http://www.ng-gaming.net/
Donuts is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating an MDC/ MDC menu [LSR]State_Trooper Help Archive 2 06/07/2011 03:02 PM
Creating a menu E-Rage Help Archive 2 25/01/2010 07:43 AM
Creating Menu RedFusion Help Archive 2 18/11/2009 06:42 PM
about creating a menu Sfinx_17 Help Archive 1 20/08/2009 05:00 PM


All times are GMT. The time now is 07:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.