2 Questiions
#1

Hi, 1st- I Made an /enter CMD and it's working fine and everything But i want that ONLY vip can enter it , like this :


Код:
			}
			else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1797.5505, -1578.8964, 14.0856)) //V.I.P Lounge
   			{
				GameTextForPlayer(playerid,"~w~Objects Loading....",1000,5);
				Pause(playerid);
				SetPlayerInterior(playerid, 10);
    			SetPlayerPos(playerid, 2365.81640625,-1706.4645996094,1195.7257080078);
    			GameTextForPlayer(playerid, "~b~V.I.P Lounge", 3000, 1);
			}
I want to add this to it :


Код:
if(PlayerInfo[playerid][pDonateRank] >= 1)
And i want also if Player Not VIP It SendClientMessage saying : You are not VIP


2nd Question-


I Also made a VIP garage with /Enter CMD and it's working fine - But i want also That's cars can enter / exit it


i made /enter - /exit CMDS for it , but when you do /enter while in car you only Get TP'ed without the car , and also i want only VIP people while on foot / incar can enter it , here is it :

here is the /enter :

Код:
			else if(IsPlayerInRangeOfPoint(playerid, 3.0, 1815.5923, -1559.0122, 13.50177)) // v.i.p Garage
            {
            	GameTextForPlayer(playerid,"~w~Objects Loading....",1000,5);
         	    Pause(playerid);
   				SetPlayerInterior(playerid, 0);
		    	SetPlayerPos(playerid, 2483.8914,2377.5178,7.5434);
		    	GameTextForPlayer(playerid, "~b~ V.I.P Garage", 3000, 1);
			}
here is the /exit :

Код:
			else if(IsPlayerInRangeOfPoint(playerid, 3.0, 2483.8914,2377.5178,7.5434)) //V.I.P Garage
			{
			    SetPlayerInterior(playerid, 0);
			    SetPlayerPos(playerid, 1815.5923, -1559.0122, 13.5017);
			    SetCameraBehindPlayer(playerid);
			}
If you know how please tel me
Reply


Messages In This Thread
2 Questiions - by -CaRRoT - 27.07.2011, 20:27
Re: 2 Questiions - by =WoR=Varth - 28.07.2011, 01:56
Re: 2 Questiions - by -CaRRoT - 28.07.2011, 07:00
Re: 2 Questiions - by Grim_ - 28.07.2011, 07:40
Re: 2 Questiions - by -CaRRoT - 28.07.2011, 13:26
Re: 2 Questiions - by -CaRRoT - 28.07.2011, 18:15

Forum Jump:


Users browsing this thread: 1 Guest(s)