Jump to content
  • 0

Cum sa fac un "I" si sa ma dea la PD in sectie!


Guest Vicente

Question

Guest Vicente

Daca puteti sa imi aratati cum sa fac un "I" dinacela in care sa apara Scrie /enter pt a intra! cand intri in el si cand scri /eter sa te dea in sectia de politie LS!

Aici am coordonatele  unde trebe sa se afle "I-ul"!

numele = CreatePickup(1239, 23, 1554.436889,-1675.632324,16.195312);

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

L-a sectia de politie nu e triunghiul ala portocaliu ce iti mai trebuie I si daca vrei sa faci un I cam asa se face /enter AddStaticPickup(aici pui coordonatele tale); ///LSPD acesta este I si dupa cauti "/enter"

//-----------------------HQs----------------------

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

   {

    if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)

  {

if PlayerToPoint(5,playerid,1778.4495,-1663.3195,14.4366)

*then

{

  SetPlayerPos(playerid,238.7040,140.7028,1003.0234);

  SetPlayerInterior(playerid,3);

  SendClientMessage(playerid,COLOR_BLUE,"Welcome to Federal Bureau Of Investigations, Departament  !");

  return 1;

}

}

}

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

   {

   if(PlayerInfo[playerid][pMember] == 0 || PlayerInfo[playerid][pLeader] == 0)

  {

if PlayerToPoint(5,playerid,238.7040,140.7028,1003.0234)

*then

{

  SetPlayerPos(playerid,1778.4495,-1663.3195,14.4366);

  SetPlayerInterior(playerid,0);

  return 1;

}

}

}

La /enter pui coordonatele de afara si pe cele din nauntru sau daca vrei sa pui un interior pui id de la interior iar la /exit pui mai intai coordonatele din interior si dupa pe cele de afara daca nu ai inteles mi se pare ca e un tutorial pe sa-mp.ro ;D

Poate te ajuta asta mai bine :) http://forum.sa-mp.ro/tutoriale/(tutorial)cum-sa-creezi-un-hq/

16189165.gifrastamaunbydeejaylobo1.gifsmileysw0181.gif

xmsok6ay41.gif

Link to comment
Share on other sites

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.