Having problems converting cmd to ycmd...
#2

PHP код:
YCMD:freq(playeridparams[], help)
{
 new 
string[128],tmp,freqx;
    if(
sscanf(params"s[128]"str)) return SendClientMessage(playerid0xAFAFAFAA".: Usage: /freq [Freqence(100000-999999) :."); //FIRST ERROR.
    
freqx strval(tmp);//SECOND ERROR and 3RD ERROR
    
if(freqx 999999 || freqx 100000)//4th error
    
{
        
SendClientMessage(playerid0x2641FEAA"Only frequence between 100000 to 999999 are susported!!");
    }
    else
    {
        
PlayerInfo[playerid][pFreq] = freqx;//5TH ERROR
        
format(string256"Your radio frequence has been set to %d"freqx);
        
SendClientMessage(playerid0x2641FEAAstring);//6TH ERROR
    
}
    return 
1
try that dude i hope it work
Reply


Messages In This Thread
Having problems converting cmd to ycmd... - by Scrillex - 02.04.2014, 18:19
Re: Having problems converting cmd to ycmd... - by MBilal - 02.04.2014, 18:24
Re: Having problems converting cmd to ycmd... - by Scrillex - 02.04.2014, 18:28
Re: Having problems converting cmd to ycmd... - by Bingo - 02.04.2014, 18:29
Re: Having problems converting cmd to ycmd... - by MBilal - 02.04.2014, 18:32
Re: Having problems converting cmd to ycmd... - by Scrillex - 02.04.2014, 18:33
Re: Having problems converting cmd to ycmd... - by MBilal - 02.04.2014, 18:35
Re: Having problems converting cmd to ycmd... - by DarkLored - 02.04.2014, 18:36
Re: Having problems converting cmd to ycmd... - by Scrillex - 02.04.2014, 18:38
Re: Having problems converting cmd to ycmd... - by Bingo - 02.04.2014, 18:38

Forum Jump:


Users browsing this thread: 2 Guest(s)