dcmd vs scanff vs strcmp ?
#10

Okay i get it now
pawn Код:
dcmd_pm(playerid,params[]) {
    new id,message;
    sscanf(params,"is",id,message);
    new pName[32];
    new string[128];
    GetPlayerName(playerid,pName,32);
    format(string,sizeof string,"PM From %s(%i): %s",pName,playerid,message);
        SendClientMessage(id,COLOR_ORANGE,string);
    }
    return 1;
}
as example

Really usefull to know , its like 3 times as small as my regular pm with strcmp
Reply


Messages In This Thread
dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:26
Re: dcmd vs scanff vs strcmp ? - by Agent Smith - 16.08.2010, 22:37
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:38
Re: dcmd vs scanff vs strcmp ? - by vital2k - 16.08.2010, 22:38
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:40
Re: dcmd vs scanff vs strcmp ? - by Masj - 16.08.2010, 22:41
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 22:52
Re: dcmd vs scanff vs strcmp ? - by [L3th4l] - 16.08.2010, 22:55
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 23:01
Re: dcmd vs scanff vs strcmp ? - by gamer931215 - 16.08.2010, 23:29

Forum Jump:


Users browsing this thread: 2 Guest(s)