strcmp to zcmd
#10

pawn Код:
CMD:me(playerid, params[])
{
    new name[MAX_PLAYER_NAME], str[128];
    GetPlayerName(playerid, name, sizeof(name));
    strreplace(name,'_',' ');
    if(sscanf(params,"s[128]",str)) return SendClientMessage(playerid,COLOR_LIGHTGRAY,"USAGE: /me [action]");
    format(str,sizeof(str),"*%s %s",name, params);
    return 1;
}
Reply


Messages In This Thread
strcmp to zcmd - by N0FeaR - 24.09.2012, 11:56
Re: strcmp to zcmd - by daastle - 24.09.2012, 12:01
Re: strcmp to zcmd - by N0FeaR - 24.09.2012, 12:37
Re: strcmp to zcmd - by Riddy - 24.09.2012, 12:42
Re: strcmp to zcmd - by N0FeaR - 24.09.2012, 12:56
Re: strcmp to zcmd - by daastle - 24.09.2012, 12:57
Re: strcmp to zcmd - by N0FeaR - 24.09.2012, 13:02
Re: strcmp to zcmd - by N0FeaR - 24.09.2012, 14:03
Re: strcmp to zcmd - by N0FeaR - 24.09.2012, 14:15
Re: strcmp to zcmd - by daastle - 24.09.2012, 14:27

Forum Jump:


Users browsing this thread: 3 Guest(s)