Command coded but not working.
#6

PHP код:
if(strcmp(cmd,"/dlenter",true)==0)
    {
        if(
IsPlayerInRangeOfPoint(playerid21797.9247,-1578.6771,14.0893))// LS DONATOR LOUNGE Area near Alhambra and Unity Station
        
{
            if(
PlayerInfo[playerid][pDonateRank]=1) {
                
SetPlayerPos(playerid2262.6274,-1486.6484,1301.0859);
                
SendClientMessage(playerid,COLOR_GRAD2,"Donator Lounge Entered.");
                return 
1;
            }
            else if(
PlayerInfo[playerid][pDonateRank]=2) {
                
SetPlayerPos(playerid2262.6274,-1486.6484,1301.0859);
                
SendClientMessage(playerid,COLOR_GRAD2,"Donator Lounge Entered.");
                return 
1;
            }
            else if(
PlayerInfo[playerid][pDonateRank]=3) {
                
SetPlayerPos(playerid2262.6274,-1486.6484,1301.0859);
                
SendClientMessage(playerid,COLOR_GRAD2,"Donator Lounge Entered.");
                return 
1;
            }
          }
        else
        {
              
SendClientMessage(playerid,COLOR_GRAD2,"You are not a Donator/VIP. Visit our store to purchase.");
            return 
1;
        }
        return 
1;
    } 
Reply


Messages In This Thread
Command coded but not working. - by FShiwani - 29.06.2013, 11:40
Re: Command coded but not working. - by Anak - 29.06.2013, 11:43
Re: Command coded but not working. - by FShiwani - 29.06.2013, 11:59
Re: Command coded but not working. - by Biess - 29.06.2013, 13:14
Re: Command coded but not working. - by FShiwani - 29.06.2013, 19:25
Re : Command coded but not working. - by yusei - 29.06.2013, 22:34
Re: Re : Command coded but not working. - by FShiwani - 30.06.2013, 00:59
Re: Command coded but not working. - by Abhishek. - 30.06.2013, 01:02
Re : Command coded but not working. - by yusei - 30.06.2013, 12:26
Re: Command coded but not working. - by FShiwani - 30.06.2013, 15:25

Forum Jump:


Users browsing this thread: 1 Guest(s)