Jump to content

Question

Posted

salut am si eu o problema , va rog ajutati-ma , vreau sa fac un pick up , aseara l-am facut desii nu ma pricep in domenii , m-am chinuit vreo 5 sau 6 ore , dar ii dadusem de cap , apoi am vrut sa schimb coordonatele ca facusem de proba , si l-am stricat ... uitati ce am facut

  Create3DTextLabel(""color_orange"politie\n"color_green"/enter", COLOR_RED ,1527.1765,-1646.6141,5.8906,2,0,0);

    AddStaticPickup(1,1,1527.1765,-1646.6141,5.8906,2.1209);//Enter politie

    AddStaticPickup(1,1,1550.6924,-1675.0742,15.5169,273.1172);//Exit politie

//politie

if(strcmp(cmdtext, "/enter", true) == 0)

    {

    if(PlayerInfo[playerid][pMembru] == 0 || PlayerInfo[playerid][pLider] == 0)

  {

if PlayerToPoint(5,playerid,1527.1765,-1646.6141,5.8906)

*then

{

  SetPlayerPos(playerid,-1675.0742,15.5169,273.1172);

  SetPlayerInterior(playerid,7);

  SendClientMessage(playerid,COLOR_1GREEN,"*** Bine ai venit la politie!");

  return 1;

}

}

}

if(strcmp(cmdtext, "/exit", true) == 0)

    {

    if(PlayerInfo[playerid][pMembru] == 0 || PlayerInfo[playerid][pLider] == 0)

  {

if PlayerToPoint(5,playerid,-1675.0742,15.5169,273.1172)

*then

{

  SetPlayerPos(playerid,1527.1765,-1646.6141,5.8906);

  SetPlayerInterior(playerid,0);

  SendClientMessage(playerid,COLOR_1GREEN,"*** Ai iesit din politie!");

  return 1;

}

}

}

ori ma teleporteaza aiurea , ori deloc ori daca nu primesc worning ... si cand reusisem sal fac sa ma mute , nu vedeam nik in jur , aseara cand il facusem , trebuia sa scriu /setind id 0

app sunt incepator , eu incerc sa fac asta ca sa invat , tot ce am facut , am luat dupa cel ce a facut serverul , ca serverul il am de la un amic ... cu care m-am certat :( si incerc sa invat , coordonatele l-am pus in mai toate felurile insa nu stiu cum trebuiesc puse exact , ca dau coordonatele intregi , sa imi spuneti va rug cum ar trebuii sa vina

AddPlayerClass(15,1527.1765,-1646.6141,5.8906,2.1209,0,0,0,0,0,0); //

AddPlayerClass(15,1550.6924,-1675.0742,15.5169,273.1172,0,0,0,0,0,0); //

ajutati-ma va rog

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • 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.