samp / mysql
#7

Hi, I did this way

PHP код:
CMD:number(playeridparams[])
{
    if(
pInfo[playerid][Telefon] == 0)
    {
        new 
string[220], number randomEx(1000,99999999);
        
pInfo[playerid][Telefon] = number;
        
format(stringsizeof(string), "Your phonenumber is: %i",pInfo[playerid][Telefon]);
        
SendClientMessage(playerid,-1,string);
        
SaveStats(playerid);
    }
    else {
        
SendClientMessage(playerid,-1,""chat" You already have an phone number !");
    }
    return 
1;

Thanks anyway
Reply


Messages In This Thread
samp / mysql phonenumber - by Zeus666 - 14.04.2018, 07:58
Re: samp / mysql - by TitoRayne - 14.04.2018, 09:51
Re: samp / mysql - by JesterlJoker - 14.04.2018, 11:18
Re: samp / mysql - by TitoRayne - 14.04.2018, 12:04
Re: samp / mysql - by Zeus666 - 21.04.2018, 08:52
Re: samp / mysql - by Phreak - 21.04.2018, 21:21
Re: samp / mysql - by Zeus666 - 21.04.2018, 21:42
Re: samp / mysql - by Dayrion - 21.04.2018, 21:45
Re: samp / mysql - by Zeus666 - 21.04.2018, 21:47

Forum Jump:


Users browsing this thread: 1 Guest(s)