Jump to content
  • 0

Comanda /exit!


gus

Question

Salut am facut si eu o comanda de /exit si tot nu imi merge cum doresc eu,imi  puteti spune cum sa o fac sa mearga perfect!

else if (PlayerToPoint(3.0, playerid,346.870025,309.259033,999.155700)) cordonate interior am pus

{

    SetPlayerInterior(playerid,0);

SetPlayerPos(playerid,2024.3586,1006.6971,10.8203); cordonate afara am pus

PlayerInfo[playerid][pInt] = 0;

PlayerInfo[playerid][pLocal] = 255;

}

Si Nu il da afara pe jucator acolo unde am pus eu sa fiu afara !? de ce ?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

uite

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

    {

  {

if PlayerToPoint(5,playerid,1964.0659,-352.3321,1092.9454) //ce e subliniat inlocuiesti cu coordonatele tale din interior

*then

{

  SetPlayerPos(playerid,1720.2876,-1740.9783,13.5469);//ce e subliniat inlocuiesti tu cu coordonatele tale din exterior

  SetPlayerInterior(playerid,0);

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

  return 1;

}

}

}[/pawn]

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.