vip area

Ja kas neizprotams.

Moderator: Moderatori

Locked
wOOzzY
Jauniņais
Jauniņais
Posts: 2
Joined: 05 Mar 2009, 11:17

vip area

Post by wOOzzY »

Sveiki visi!! Lieta tāda ka tagad strādāju pie gamemode un man vajadzētu zināt , kā var ustaisīt teiksim ja čalis ienāk vai iebrauc atiecīgā bunkurā viņš nomirst?? Nu līdzīgi kā šeit jūsu serverī
Faust
Nelabojams spameris
Nelabojams spameris
Posts: 1029
Joined: 06 Jan 2008, 20:05

Re: vip area

Post by Faust »

wOOzzY
Jauniņais
Jauniņais
Posts: 2
Joined: 05 Mar 2009, 11:17

Re: vip area

Post by wOOzzY »

nekas nesanāca :( :(

Code: Select all

	public isPlayerInArea()
	{
       new Float:X, Float:Y, Float:Z; //We use this to store player position
       for(new i=0; i =  -3772 && Y = -277)
           /* This line is the important one!. Here, is where you change those numbers, by the ones
           you get from the /pos command. As you can see, those coordinates, are only the X and Y ones, the Z
           doesnt matter*/
if(PlayerInfo[i][pLevel] < 5) return DenyMessage(i, 5);
           {
               SetPlayerHealth(i, -999999.9); //This will ensure, that our player gets killed if he tries to enter
           }
       }
   }
varbūt kāds var pateikt ko daru nepareizi ??
Locked