Load Mysql House
#4

PHP код:
House_Refresh(idz)
{
    if (
idz != -1)
    {

      static
           
string[128];
      for(new 
0<= idzi++) {
        if (
HouseInfo[HouseInfo[i][hID]][hOwned] == 0) {
              
format(string,sizeof(string),""COL_BROWN"Owner: "COL_WHITE"None\n"COL_BROWN"Price: "COL_WHITE"$%d\n"COL_BROWN"Street Number: "COL_WHITE"%d"HouseInfo[i][hPrice], HouseInfo[i][hID]);
            
HouseInfo[HouseInfo[i][hID]][hDLabel] = Create3DTextLabel(string0xFFFFFFHouseInfo[i][hEntranceX],HouseInfo[i][hEntranceY],HouseInfo[i][hEntranceZ], 10.000);
            
HouseInfo[HouseInfo[i][hID]][hOutsideIcon] = CreateDynamicPickup(12731HouseInfo[i][hEntranceX], HouseInfo[i][hEntranceY], HouseInfo[i][hEntranceZ], HouseInfo[i][hWorld]);

        }
        else {
              
format(string,sizeof(string),""COL_BROWN"Owner: "COL_WHITE"%s\n"COL_BROWN"Street Number: "COL_WHITE"%d"HouseInfo[i][hOwner], HouseInfo[i][hID]);
            
HouseInfo[HouseInfo[i][hID]][hDLabel] = Create3DTextLabel(string0xFFFFFF,  HouseInfo[HouseInfo[i][hID]][hEntranceX],HouseInfo[HouseInfo[i][hID]][hEntranceY], HouseInfo[HouseInfo[i][hID]][hEntranceZ], 10.000);
            
HouseInfo[HouseInfo[i][hID]][hOutsideIcon] = CreateDynamicPickup(12721HouseInfo[HouseInfo[i][hID]][hEntranceX], HouseInfo[HouseInfo[i][hID]][hEntranceY], HouseInfo[HouseInfo[i][hID]][hEntranceZ], HouseInfo[HouseInfo[i][hID]][hWorld]);

        }
      }
     
printf("House pickup created %d"idz);
    }
    return 
1;

Reply


Messages In This Thread
Load Pickup House +REP - by StreetRP - 16.01.2016, 09:07
Re: Load Mysql House - by StreetRP - 16.01.2016, 10:14
Re: Load Mysql House - by Eth - 16.01.2016, 10:21
Re: Load Mysql House - by jlalt - 16.01.2016, 10:24
Re: Load Mysql House - by StreetRP - 16.01.2016, 11:10
Re: Load Mysql House - by LetsOWN[PL] - 16.01.2016, 11:14
Re: Load Mysql House - by StreetRP - 16.01.2016, 11:28
Re: Load Mysql House - by dndperas - 16.01.2016, 11:32
Re: Load Mysql House - by StreetRP - 16.01.2016, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)