Jump to content
  • 0

/stuck


KEMKSI98

Question

3 answers to this question

Recommended Posts

[pawn] if(strcmp(cmd, "/stuck", true) == 0 || strcmp(cmd, "/refresh", true) == 0)

{

    if(IsPlayerConnected(playerid))

{

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

{

    SetPlayerVirtualWorld(playerid,0);

  SetPlayerInterior(playerid,10);

SetPlayerPos(playerid,224.1168,114.4357,999.0156);

SendClientMessage(playerid, COLOR_WHITE, "** You have not finished your jail time");

SafeResetPlayerWeapons(playerid);

return 1;

}

if(PlayerCuffed[giveplayerid] > 0)

{

    SendClientMessage(playerid, COLOR_WHITE, "Nu ai voie sa folosesti comanda cand esti incatusat");

    return 1;

}

new Float:slx, Float:sly, Float:slz;

GetPlayerPos(playerid, slx, sly, slz);

SetPlayerPos(playerid, slx, sly, slz+2);

TogglePlayerControllable(playerid, 1);

return 1;

}

}[/pawn]

Link to comment
Share on other sites

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