Timer help
#1

the timer won't start when i put any cmd, maybe u guys can help me out!

PHP код:
public OnPlayerCommandPerformed(playeridcmdtext[], success)
{
    switch(
success)
    {
        case 
0:
        {
            new 
str[128];
            
//format(string, sizeof(string),"The command '%s' is not in the server database try using (/help).", cmdtext);
            //return SendClientMessage(playerid,COLOR_WHITE,string);
            
format(strsizeof(str), "The command '%s' is not in the server database try using (/help)."cmdtext);
            
Cmddraw1 TextDrawCreate(28.000000435.000000str);
            
TextDrawBackgroundColor(Cmddraw1255);
            
TextDrawFont(Cmddraw11);
            
TextDrawLetterSize(Cmddraw10.5000001.000000);
            
TextDrawColor(Cmddraw1, -10270806);
            
TextDrawSetOutline(Cmddraw10);
            
TextDrawSetProportional(Cmddraw11);
            
TextDrawSetShadow(Cmddraw11);
            
TextDrawSetSelectable(Cmddraw10);
            
TextDrawShowForPlayer(playeridCmddraw1);
            
TextDrawShowForPlayer(playeridCmddraw0);
            
SetTimer("Unkowncmdtimer"5000true); 
Reply


Messages In This Thread
Timer help - by N0FeaR - 23.02.2016, 11:22
Re: Timer help - by Sithis - 23.02.2016, 11:24
Re: Timer help - by N0FeaR - 23.02.2016, 11:26
Re: Timer help - by Sithis - 23.02.2016, 11:28
Re: Timer help - by N0FeaR - 23.02.2016, 11:31

Forum Jump:


Users browsing this thread: 2 Guest(s)