Jump to content
  • 0

Ajutor Jail


toofast

Question

Buna ziua,

Am o problema pe server. Atunci cand intrii in Jail cazi din cer si apoi mori. O tine asa pana iti termini pedeapsa. Ma puteti ajuta sa setez un loc unde sa te dea atunci cand intrii in Jail?

[pawn]if(PlayerInfo[playerid][pJailed] == 1)

{

            SetPlayerSkin(playerid, 62);

            SetPlayerWantedLevel(playerid, 0);

    SetPlayerInterior(playerid, 6);

SetPlayerPos(playerid,1779.3185,-1576.1315,1734.9430);

SendClientMessage(playerid, COLOR_LIGHTRED, "Sentinta incompleta, te intorci la puscarie sa executi pedeapsa.");

ResetPlayerWeapons(playerid);

return 1;

}[/pawn]

Va multumesc

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Incearca asta

[pawn]if(PlayerInfo[playerid][pJailed] == 1)

{

    SetPlayerInterior(playerid, 10);

    PlayerInfo[playerid][pInt] = 10;

SetPlayerPos(playerid,224.1168,114.4357,999.0156);

SendClientMessage(playerid, COLOR_LIGHTRED, "Sentinta incompleta,intoarce-te la inchisoare");

return 1;

}

if(PlayerInfo[playerid][pJailed] == 2)

{

    SetPlayerInterior(playerid, 0);

    PlayerInfo[playerid][pInt] = 0;

SetPlayerPos(playerid,268.5777,1857.9351,9.8133);

SetPlayerWorldBounds(playerid, 337.5694,101.5826,1940.9759,1798.7453); //

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.