Just a test.
#1

PHP код:
public OnPlayerCommandText(playeridcmdtext[])
{
    if (
strcmp("/coin"cmdtexttrue10) == 0)
    {
        new 
str[150];
        
GetPlayerName(playeridstrsizeof(str));
        
format(strsizeof(str), "{0780E3}%s flips the coin and lands it on((heads||tails))"str);
        
SendClientMessageToAll(-1,str);
        return 
1;
    }
    return 
0;

Just ried this one I posted this,I never went on this side so can someone help that how to give random message and change head and tails every time the command is applied.
Reply


Messages In This Thread
Just a test. - by TaLhA XIV - 14.08.2012, 21:05
Re: Just a test. - by IstuntmanI - 14.08.2012, 21:10
Re: Just a test. - by Jefff - 14.08.2012, 21:15
Re: Just a test. - by TaLhA XIV - 14.08.2012, 21:18
Re: Just a test. - by Akcent_Voltaj - 14.08.2012, 21:19
Re: Just a test. - by TaLhA XIV - 15.08.2012, 15:18
Re: Just a test. - by [MM]RoXoR[FS] - 15.08.2012, 15:27
Re: Just a test. - by TaLhA XIV - 15.08.2012, 15:45
Re: Just a test. - by TaLhA XIV - 15.08.2012, 16:06
Re: Just a test. - by TaLhA XIV - 15.08.2012, 16:25

Forum Jump:


Users browsing this thread: 1 Guest(s)