Atkal par pickupiem

Ja kas neizprotams.

Moderator: Moderātori

Post Reply
User avatar
Tektro
Jauniņais
Jauniņais
Posts: 34
Joined: 23 Sep 2012, 12:40

Atkal par pickupiem

Post by Tektro » 26 Sep 2012, 13:43

Kaa var sitaadus divus

Code: Select all

public OnPlayerPickUpPickup(playerid, pickupid)
{
   if(pickupid == gun1)
   {
      GivePlayerWeapon(playerid, 24,99999);
}

   return 1;
   
   
   
}
salikt taa lai nebuutu neviena erorra?

User avatar
[NF]Magnifico
Censoņa
Censoņa
Posts: 245
Joined: 09 Oct 2011, 02:17
Location: Cēsis
Contact:

Re: Atkal par pickupiem

Post by [NF]Magnifico » 26 Sep 2012, 14:05

Code: Select all

public OnPlayerPickUpPickup(playerid, pickupid)
   {
   if(pickupid == gun1)
      {
      GivePlayerWeapon(playerid, 24,99999);
      }
   if(pickupid == gun2)
      {
      GivePlayerWeapon(playerid, 24,99999);
      }
   return 1;
   }

User avatar
Tektro
Jauniņais
Jauniņais
Posts: 34
Joined: 23 Sep 2012, 12:40

Re: Atkal par pickupiem

Post by Tektro » 26 Sep 2012, 14:14

skaidrs.viss aizgaaja tnx

Post Reply