Command help!
#2

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
    if( ( newkeys & KEY_YES ) && !( oldkeys & KEY_YES ) )
    {
        // code...
    }
    return 1;
}
Well.. if you used ZCMD, then it'd be easier. You'd only have to do: cmd_robplace( playerid, "" );

You may be able to do something like:
pawn Код:
CallLocalFunction( "OnPlayerCommandText", "is", playerid, "/robplace" );
though.
Reply


Messages In This Thread
Command help! - by Meow22 - 29.11.2013, 18:48
Re: Command help! - by Konstantinos - 29.11.2013, 18:52
Re: Command help! - by Meow22 - 29.11.2013, 18:59
Re: Command help! - by BizzyD - 29.11.2013, 19:13

Forum Jump:


Users browsing this thread: 1 Guest(s)