Threaded query problem
#8

@OP
AmigaBlizzard and Jefff have already pointed you where your problem is.
The evSahipIsim() part is correct, your evSahip() "callback" is not.

PHP код:
forward evSahip(evID);
public 
evSahip(evID)
{
    new
        
rows,
        
fields,
        
sahipIsim[24];
    
cache_get_data(rowsfieldsg_iHandle);
    
cache_get_field_content(0"Character"sahipIsimg_iHandlesizeof(sahipIsim));
    
    
// strpack(HouseData[evID][houseOwner], sahipIsim, 24 char);
    // ^ you cannot magically store a string to an integer variable
    
    // do what you need with the house owner
    // stored as a string in "sahipIsim" array
    
    
return 1;

Reply


Messages In This Thread
Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 15:13
Re: Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 15:44
Re: Threaded query problem - by WhoIsYourDaddy - 25.02.2016, 19:57
Re: Threaded query problem - by AmigaBlizzard - 25.02.2016, 20:34
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 00:30
Re: Threaded query problem - by Jefff - 26.02.2016, 00:35
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 01:09
Re: Threaded query problem - by Virtual1ty - 26.02.2016, 13:01
Re: Threaded query problem - by WhoIsYourDaddy - 26.02.2016, 13:09
Re: Threaded query problem - by Virtual1ty - 26.02.2016, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)