How to write a command as someone else
#2

PHP код:
CMD:fakecmd(playeridparams[])
{
    if(!
IsPlayerAdmin(playerid))
        return 
SCM(...);
    new 
idcmd[18];
    if(
sscanf(params"us[18]"idcmd))
        return 
SCM(...);
    if(!
strcmp(cmd"/", .length 1))
    {
        
CallRemoteFunction("OnPlayerCommandText""is"idcmd); 
    }
    else 
        
SCM(...);
    return 
1;

Reply


Messages In This Thread
How to write a command as someone else - by NeXoR - 20.10.2016, 17:33
Re: How to write a command as someone else - by oMa37 - 20.10.2016, 18:24
Re: How to write a command as someone else - by NeXoR - 20.10.2016, 19:13
Re: How to write a command as someone else - by ThatFag - 20.10.2016, 19:21
Re: How to write a command as someone else - by oMa37 - 20.10.2016, 19:35
Re: How to write a command as someone else - by SickAttack - 20.10.2016, 19:53
Re: How to write a command as someone else - by NeXoR - 20.10.2016, 19:54

Forum Jump:


Users browsing this thread: 2 Guest(s)