Ondialogresponse - inputtext is random number
#3

PHP код:
else if(dialogid == 18)
    {
        if(
response)
        {
            new 
string[128], query[200];
            
format(query,sizeof(query),"UPDATE doors SET pickup = %d WHERE ID = %d",string,EditingDoorid);
            
mysql_function_query(Connection,query,false,"","");
               
format(dInfo[EditingDoorid][dPickup], 4inputtext);
            
DestroyPickup(dInfo[EditingDoorid][dOne]);
            
Delete3DTextLabel(dInfo[EditingDoorid][dTwo]);
            
dInfo[EditingDoorid][dOne] = CreatePickup(dInfo[EditingDoorid][dPickup], 1dInfo[EditingDoorid][dPos][0], dInfo[EditingDoorid][dPos][1], dInfo[EditingDoorid][dPos][2], 0);
            
format(stringsizeof(string), "%s"pickup '%e'[EditingDoorid][dText]);
            
dInfo[EditingDoorid][dTwo] = Create3DTextLabel(stringCOLOR_WHITEdInfo[EditingDoorid][dPos][0], dInfo[EditingDoorid][dPos][1], dInfo[EditingDoorid][dPos][2], 00);
               
format(stringsizeof(string), "[Admin Log]: %s has changed the pickup of doorid %d."PN(playerid), EditingDoorid);
             
SendAdminMessage(string);
             
Log("Logs/Admin.log"string);
        }
        else return 
0
Please +1Rep and make me happy
Reply


Messages In This Thread
Ondialogresponse - inputtext is random number - by SandKing94 - 01.06.2015, 18:09
Re: Ondialogresponse - inputtext is random number - by Konstantinos - 01.06.2015, 18:11
Re: Ondialogresponse - inputtext is random number - by FrankLucretti - 01.06.2015, 18:20

Forum Jump:


Users browsing this thread: 1 Guest(s)