[Pedido] Forзar comando
#8

em zcmd:
pawn Код:
// Em zcmd
CMD:comandoid( p, pr[], PlayerID, cmdtext[ 30 ] )
{
    if( sscanf( pr, "us[25]", PlayerID, cmdtext ) ) return SendClientMessage( p, -1, #Use /comandoid [ID] );
    return OnPlayerCommandReceived( PlayerID, cmdtext ), true;
}

//Em YCMD
YCMD:fcomando( p, pr[], h )
{
    new
        cmdtext[ 31 ],
        PlayerID
    ;
    sscanf( pr, "us[25]", PlayerID, cmdtext );
    return OnPlayerCommandReceived( PlayerID, cmdtext ), true;
}
Reply


Messages In This Thread
Forзar comando - by JowSmith - 07.03.2013, 19:49
Re: Forзar comando - by Schocc - 07.03.2013, 19:57
Re: Forзar comando - by Don_Speed - 07.03.2013, 20:09
Re: Forзar comando - by JowSmith - 07.03.2013, 20:14
Re: Forзar comando - by VenoN - 07.03.2013, 20:16
Re: Forзar comando - by Don_Speed - 07.03.2013, 20:17
Re: Forзar comando - by JowSmith - 07.03.2013, 20:19
Re: Forзar comando - by Schocc - 07.03.2013, 20:28

Forum Jump:


Users browsing this thread: 1 Guest(s)