Message wont display?
#8

PHP код:
if(strcmp(cmd"/createhouse"true) == 0)
{
    if(
IsPlayerConnected(playerid))
    {
         new 
house;
           if (
PlayerInfo[playerid][pAdmin] < 10) return SendClientMessage(playerid,COLOR_WHITE,"You're not authroized to use this command !");
         for(new 
1SCRIPT_MAXHOUSESh++)
         {
              if(
HouseInfo[h][hOwned] != 1)
            {
                 
house h;
                   break;
               }
            new 
Float:X,Float:Y,Float:Z;
               
GetPlayerPos(playerid,X,Y,Z);
            print(
"debug");
               
HouseInfo[house][hEntrancex] = X;
              
HouseInfo[house][hEntrancey] = Y;
            
HouseInfo[house][hEntrancez] = Z;
             
HouseInfo[house][hPickupID] = CreateDynamicPickup(12731XYZ);
              
OnPropUpdate();
               return 
1;
          }
    }
     return 
1;

Reply


Messages In This Thread
Message wont display? - by Will77 - 15.09.2011, 14:18
Re: Message wont display? - by Pinguinn - 15.09.2011, 14:29
Re: Message wont display? - by Will77 - 15.09.2011, 15:25
Re: Message wont display? - by PrawkC - 15.09.2011, 17:08
Re: Message wont display? - by Will77 - 15.09.2011, 19:01
Re: Message wont display? - by PrawkC - 15.09.2011, 19:14
Re: Message wont display? - by scottyishere - 15.09.2011, 19:23
Re: Message wont display? - by Kush - 15.09.2011, 19:29
Re: Message wont display? - by PrawkC - 15.09.2011, 19:32

Forum Jump:


Users browsing this thread: 2 Guest(s)