[AJUDA] Com o comando /amarrar!
#2

Adapta as tuas necessidades
pawn Код:
if(strcmp(cmd, "/amarrar", true) ==0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
        SendClientMessage(playerid, 0xFF0000AA, "USO: /Amarrar [ID]");
        new ID;
        ID = strval(tmp);
        TogglePlayerControllable(ID, 0);
        return 1;
    }
}
if(strcmp(cmd, "/desamarrar", true) ==0)
{
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp))
    {
        SendClientMessage(playerid, 0xFF0000AA, "USO: /Desamarrar [ID]");
        new ID;
        ID = strval(tmp);
        TogglePlayerControllable(ID, 1);
        return 1;
    }
}
Reply


Messages In This Thread
[AJUDA] Com o comando /amarrar! - by Bruno Pereira - 10.01.2011, 14:55
Re: [AJUDA] Com o comando /amarrar! - by TiagoPS - 10.01.2011, 15:26
Re: [AJUDA] Com o comando /amarrar! - by Bruno Pereira - 10.01.2011, 16:48
Re: [AJUDA] Com o comando /amarrar! - by TiagoPS - 10.01.2011, 16:54
Re: [AJUDA] Com o comando /amarrar! - by Bruno Pereira - 10.01.2011, 20:15
Re: [AJUDA] Com o comando /amarrar! - by cacauagiar - 10.01.2011, 20:50
Re: [AJUDA] Com o comando /amarrar! - by Bruno Pereira - 11.01.2011, 15:55
Re: [AJUDA] Com o comando /amarrar! - by steki. - 11.01.2011, 16:23
Re: [AJUDA] Com o comando /amarrar! - by Bruno Pereira - 11.01.2011, 19:23

Forum Jump:


Users browsing this thread: 1 Guest(s)