Jump to content

Recommended Posts

Posted (edited)

Salut  , am revenit sa împărtășească acest sistem cu voi.

El cuprinde :

  1.   Un mini-bar
  2.   un paznic [ Actori ]
  3.    doua dansatoare erotice [ Actori ]

 

Pentru inceput ne trebuie INCLUDE "Actor streamer"

Click

1. La inceputul gamemodului punem :

new actori[4];
#define funcion%0(%1) forward %0(%1); public %0(%1)

2. La OnGameModeInit punem :

 

actori[0] = CreateActor(194, 1263.4873,-776.4821,4001.1401,179.2284);
actori[1] = CreateActor(246, 1252.8138,-777.0408,4001.5591, 223.4089);
actori[2] = CreateActor(64, 1253.1564,-789.6573,4001.1538, 323.6765);
actori[3] = CreateActor(164, 1258.2405,-783.8182,4001.0859,52.3507);
SetActorVirtualWorld(actori[0], 2);
SetActorVirtualWorld(actori[1], 2);
SetActorVirtualWorld(actori[2], 2);
SetActorVirtualWorld(actori[3], 2);
SetTimer("actualizeaza", 10000, true);
//CLUB
CreateObject(14537, 1264.31079, -772.83990, 4002.08545,   0.00000, 0.00000, 0.00000);
CreateObject(19128, 1253.92822, -791.09857, 4000.08350,   0.00000, 0.00000, 45.00000);
CreateObject(19128, 1251.10486, -788.30438, 4000.08350,   0.00000, 0.00000, 45.00000);
CreateObject(19128, 1250.80359, -775.04132, 4000.48877,   0.00000, 0.00000, 45.00000);
CreateObject(19128, 1253.60486, -777.81592, 4000.48877,   0.00000, 0.00000, 45.00000);
CreateObject(19130, 1256.36560, -777.95337, 4000.49243,   0.00000, 0.00000, -45.00000);
CreateObject(19130, 1253.82007, -780.47382, 4000.49243,   0.00000, 0.00000, -45.00000);
CreateObject(2232, 1259.58386, -783.01416, 4000.69067,   0.00000, 0.00000, 4463.81982);
CreateObject(2232, 1251.82690, -784.34857, 4000.69067,   0.00000, 0.00000, 4371.06006);
CreateObject(2232, 1250.65015, -783.10382, 4000.69067,   0.00000, 0.00000, 4457.22119);
CreateObject(14833, 1247.02014, -766.12384, 4001.69434,   0.00000, 0.00000, 180.00000);
CreateObject(14837, 1257.10229, -768.77228, 4001.81152,   0.00000, 0.00000, 0.00000);
CreateObject(19611, 1253.51208, -777.84747, 4003.71973,   0.00000, 180.00000, 0.00000);
CreateObject(19611, 1253.51208, -777.84747, 4000.55005,   0.00000, 0.00000, 0.00000);
CreateObject(19617, 1259.62305, -776.19171, 4002.19482,   0.00000, 0.00000, 90.00000);
CreateObject(19859, 1260.54102, -783.49609, 4001.31226,   0.00000, 0.00000, 0.00000);
CreateObject(19859, 1263.48547, -783.50507, 4001.31226,   0.00000, 0.00000, 180.00000);
CreateObject(19894, 1264.26196, -777.42529, 4001.25195,   0.00000, 0.00000, 214.92000);
CreateObject(19893, 1264.24036, -777.44177, 4001.35376,   0.00000, 0.00000, 214.92001);
CreateObject(19894, 1264.15210, -777.24792, 4001.25195,   0.00000, 0.00000, 214.92000);
CreateObject(19821, 1262.81592, -777.24414, 4001.25366,   0.00000, 0.00000, 0.00000);
CreateObject(19821, 1260.36218, -777.25751, 4001.25366,   0.00000, 0.00000, 0.00000);
CreateObject(19822, 1262.43872, -777.32117, 4001.25317,   0.00000, 0.00000, 0.00000);
CreateObject(19822, 1266.18359, -777.16522, 4001.25317,   0.00000, 0.00000, 0.00000);
CreateObject(19820, 1265.03381, -777.79626, 4001.25342,   0.00000, 0.00000, 0.00000);
CreateObject(19820, 1267.64648, -777.29895, 4001.25342,   0.00000, 0.00000, 0.00000);
CreateObject(19819, 1266.89917, -777.33698, 4001.35376,   0.00000, 0.00000, 0.00000);
CreateObject(19819, 1264.06543, -777.95142, 4001.35376,   0.00000, 0.00000, 0.00000);
CreateObject(11704, 1250.24011, -779.57446, 4001.55884,   0.00000, 0.00000, 90.00000);
CreateObject(2255, 1250.68030, -777.37164, 4001.51904,   0.00000, 0.00000, 90.00000);
CreateObject(2273, 1253.30798, -774.88239, 4001.46997,   0.00000, 0.00000, 0.00000);
CreateObject(19173, 1268.50684, -781.19238, 4002.35791,   0.00000, 0.00000, 90.00000);
CreateObject(2290, 1254.70239, -783.25665, 3999.88477,   0.00000, 0.00000, 180.00000);
CreateObject(2290, 1253.08020, -784.34357, 3999.98584,   0.00000, 0.00000, 0.00000);
CreateObject(2290, 1258.43860, -787.04639, 3999.98584,   0.00000, 0.00000, -90.00000);
CreateObject(948, 1258.59851, -784.66406, 4000.08447,   0.00000, 0.00000, 0.00000);
CreateObject(19611, 1253.96838, -788.67090, 4003.38770,   0.00000, 180.00000, 0.00000);
CreateObject(19611, 1253.96838, -788.67090, 4000.14380,   0.00000, 0.00000, 0.00000);
CreateObject(2255, 1251.67590, -788.00482, 4001.51904,   0.00000, 0.00000, 90.00000);
CreateObject(19173, 1255.32251, -791.16211, 4002.05469,   0.00000, 0.00000, 0.00000);
CreateObject(19377, 1264.22205, -779.01068, 4003.48413,   0.00000, 90.00000, 0.00000);
CreateObject(19377, 1253.81506, -778.97455, 4003.48413,   0.00000, 90.00000, 0.00000);
CreateObject(19377, 1253.95557, -788.58472, 4003.48413,   0.00000, 90.00000, 0.00000);
//
new object3[3];
object3[0] = CreateObject(19379, 1253.73596, -778.92548, 4000.00000,   0.00000, 90.00000, 0.00000);
object3[1] = CreateObject(19379, 1253.74414, -788.51770, 4000.00000,   0.00000, 90.00000, 0.00000);
object3[2] = CreateObject(19379, 1263.99866, -778.79950, 4000.00000,   0.00000, 90.00000, 0.00000);
for(new i = 0; i != 3 ; i++) SetObjectMaterial(object3,0, 5999, "sunst18_lawn", "tiledwall01_LA", 0);
//
new club18[18];
club18[0] = CreateObject(19446, 1264.06519, -774.20233, 4001.74341,   0.00000, 0.00000, 90.00000);
club18[1] = CreateObject(19446, 1262.06494, -785.17230, 4001.74341,   0.00000, 0.00000, 90.00000);
club18[2] = CreateObject(19446, 1259.56250, -772.88495, 4001.74341,   0.00000, 0.00000, 0.00000);
club18[3] = CreateObject(19446, 1254.90759, -774.31281, 4001.74341,   0.00000, 0.00000, 90.00000);
club18[4] = CreateObject(19446, 1250.09460, -779.08289, 4001.74341,   0.00000, 0.00000, 0.00000);
club18[5] = CreateObject(19446, 1250.70630, -783.80780, 4001.74341,   0.00000, 0.00000, 90.00000);
club18[6] = CreateObject(19446, 1263.81616, -783.57587, 4001.74341,   0.00000, 0.00000, 90.00000);
club18[7] = CreateObject(19446, 1259.00989, -786.52917, 4001.74341,   0.00000, 0.00000, 0.00000);
club18[8] = CreateObject(19446, 1251.11023, -788.68842, 4001.74341,   0.00000, 0.00000, 0.00000);
club18[9] = CreateObject(19446, 1254.16589, -791.24780, 4001.74341,   0.00000, 0.00000, 90.00000);
club18[10] = CreateObject(19446, 1268.65906, -778.87585, 4001.74341,   0.00000, 0.00000, 0.00000);
club18[11] = CreateObject(19438, 1252.44275, -779.36877, 3999.78247,   90.00000, 0.00000, 45.00000);
club18[12] = CreateObject(19438, 1264.68921, -784.08044, 4000.89819,   90.00000, 0.00000, 0.00000);
club18[13] = CreateObject(19438, 1269.18103, -779.57220, 4000.89819,   90.00000, 0.00000, 90.00000);
club18[14] = CreateObject(19438, 1250.00623, -776.94910, 3999.78247,   90.00000, 0.00000, 45.00000);
club18[15] = CreateObject(19438, 1255.01489, -779.20630, 3999.78247,   90.00000, 0.00000, -45.00000);
club18[16] = CreateObject(19438, 1255.25659, -776.63904, 3999.78247,   90.00000, 0.00000, 45.00000);
club18[17] = CreateObject(19438, 1252.82666, -774.20215, 3999.78247,   90.00000, 0.00000, 45.00000);
for(new i = 0; i != 18 ; i++) SetObjectMaterial(club18,0, 3595, "dingbat01_la", "mosaic1_LAwn", 0);

3. Adaugam la sfarsit.

funcion actualizeaza()
{
        ApplyActorAnimation(actori[0], "BAR", "Barserve_bottle", 4.0,1,0,0,1,0);
       ApplyActorAnimation(actori[1], "DANCING", "DAN_Down_A", 4.0,1,0,0,1,0);
    ApplyActorAnimation(actori[2], "DANCING", "DAN_Right_A", 4.0,1,0,0,1,0);
    ApplyActorAnimation(actori[3], "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
    ApplyActorAnimation(actori[0], "BAR", "Barserve_bottle", 4.0,1,0,0,1,0);
       ApplyActorAnimation(actori[1], "DANCING", "DAN_Down_A", 4.0,1,0,0,1,0);
    ApplyActorAnimation(actori[2], "DANCING", "DAN_Right_A", 4.0,1,0,0,1,0);
    ApplyActorAnimation(actori[3], "DEALER", "DEALER_IDLE_01", 4.0, 0, 1, 1, 1, -1);
}

 4 . Sa facem si comanda

 

CMD:gotoclub(playerid, params[])
{
    SendClientMessage(playerid, -1, "Ai intrat in CLUB! [VW :2]");
    SetPlayerPos(playerid, 1262.3711,-781.7170,4001.0859);
	SetPlayerVirtualWorld(playerid, 2);
    return 1;
}

 

O sa revin si cu cateva poze.

Edited by Mafia.
  • Upvote 7
Posted

10/10 +1

Y!M: menyx.official

Skype: menyx.official

 

 

Inainte de a critica o persoana indiferent de etnie/varsta/inteligenta ei uita-te la tine si nu uita ca toti suntem Oameni si ca nu are sens sa incerci sa pari diferit!Daca esti mai prost/destept decat cel scos/aflat in discutie incearca sa nu faci pe "MR. Inteligent" TACI si FACI!

Respecta membrii acestei comunitati daca ai pretentia sa fi respectat si tratat(a) ca pe o fiinta umana!

 

Nu fac nimic remarcabil, dar ceea ce fac este esenţial.•

 

Posted

Nu prea m-am informat eu despre 0.3.7, dar include-ul a_actor m-a cam lamurit :))

+1 10/10.

242086.png

Posted

Very nice :)

"Mulţi programatori buni fac programare nu pentru că se aşteaptă să câştige bani sau să fie lăudaţi de public, ci pentru că e amuzant să programezi." - Linus Torvalds

Posted

Nu prea m-am informat eu despre 0.3.7, dar include-ul a_actor m-a cam lamurit :))

+1 10/10.

​Ce concluzie ai tras x_x ?

Bravo +1

c9HMxCn.png

 

jxH1ZQs.png

 

Skype : samp_arownd

Yahoo wos_sunrise 

Posted

Fain:) Bravo. Mi-ai dat o idee cu asta.

 

 

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.