/pks cmd problem
#1

PHP код:
CMD:pks(playeridparams[])
{
 new 
moneys1string[128];
 for (new 
0PLAYERSi++)
 {
      if (
IsPlayerConnected2(i))
      {
               if (
pklvl[playerid] > 0)
               {
                
moneys1++;
               }
               else if(
pklvl[playerid] == 2)
               {
                   if(
pklvl[playerid] > 0)
                   {
                       
moneys1++;
                   }
               }
      }
 }
 if (
moneys1 != 0)
 {
      
SendClientMessage(playeridCOLOR_GREEN"===========| Online Peace Keepers |===========");
      new 
p=6;
      while (
0)
      {
          for (new 
0PLAYERSi++)
          {
               if (
pklvl[i] == p)
            {
                  
format(string128"{FFFFFF}%s - %s{FFFFFF} "RPN(i), pkLVL(p),p);
                  
SendClientMessage(playeridCOLOR_WHITEstring);
            }
            else if(
pklvl[i] == p)
            {
                if(
pklvl[playerid] == 1)
                {
                  
format(string128"{FFFFFF}%s - %s{FFFFFF}"RPN(i), pkLVL(p),p);
                  
SendClientMessage(playeridCOLOR_WHITEstring);
                }
            }
          }
          
p--;
      }
 }
 else 
SendClientMessage(playeridCOLOR_RED"There are currently no Peace Keepers online.");
 return 
1;

Getting Error Undefined Symbol "pkLVL"
Reply


Messages In This Thread
/pks cmd problem - by Wherethescripters - 30.12.2017, 08:33
Re: /pks cmd problem - by Ritzy2K - 30.12.2017, 08:55
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 08:57
Re: /pks cmd problem - by RakiT - 30.12.2017, 08:59
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 09:00
Re: /pks cmd problem - by RakiT - 30.12.2017, 09:03
Re: /pks cmd problem - by Ritzy2K - 30.12.2017, 09:06
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 09:13
Re: /pks cmd problem - by Wherethescripters - 30.12.2017, 09:15
Re: /pks cmd problem - by RakiT - 30.12.2017, 09:26

Forum Jump:


Users browsing this thread: 2 Guest(s)