[Help] /cuff or /tie
#3

i find it alot simpiler with Dcmd and sscanf so heres a dcmd/sscanf version of /tie:

pawn Код:
dcmd_Tie(playerid, params[])
{
    new otherid;
    if (sscanf(params, "d", otherid)) return SendClientMessage(playerid, ERROR_COLOR, "Usage: /Tie [playerid]");
    if(gTeam[playerid] == 4)
    {
        TogglePlayerControllable(otherid, 0)
        SendClientMessage(otherid, COLOR_YELLOW, You are now tied up");
    }
    return 1;
}
Reply


Messages In This Thread
[Help] /cuff or /tie - by joeri55 - 09.06.2009, 20:35
Re: [Help] /cuff or /tie - by Klutty - 09.06.2009, 20:36
Re: [Help] /cuff or /tie - by miokie - 09.06.2009, 20:41
Re: [Help] /cuff or /tie - by joeri55 - 09.06.2009, 21:24
Re: [Help] /cuff or /tie - by joeri55 - 09.06.2009, 21:52
Re: [Help] /cuff or /tie - by joeri55 - 09.06.2009, 22:33

Forum Jump:


Users browsing this thread: 2 Guest(s)