BoxG SA:MP Top


BoxG Counter-Strike Community


BoxG SA:MP Community

178.62.163.77:7777

Papildus pakalpojumi

SMS nauda, bunkuri..

Ierociem uzlikt patronu dauzumu

Ja kas neizprotams.

Moderator: Moderātori

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

Ierociem uzlikt patronu dauzumu

Postby Tektro » 25 Sep 2012, 21:55

Kuru veidu man jaaizveelas vai kas jaadara lai uzliktu ierociem patronas ar 2 neiet ar 1 nevar savaakt nezinu kas tur varetu buut.

User avatar
Unknowns
Censoņa
Censoņa
Posts: 364
Joined: 03 Jul 2012, 12:40

Re: Ierociem uzlikt patronu dauzumu

Postby Unknowns » 25 Sep 2012, 22:05

GivePlayerWeapon(playerid, 35 , 50 ); Tas 50 ir lodes cik tu gribi likt , bet 35 ir ieroča id , šoreiz ņēmu rocket launcher !
Image

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

Re: Ierociem uzlikt patronu dauzumu

Postby Tektro » 25 Sep 2012, 22:08

bet piem es uzlieku tur 99999 lodes kipa lai nebeidzamaas bet pienaak klaattikai 10 lodes

User avatar
Unknowns
Censoņa
Censoņa
Posts: 364
Joined: 03 Jul 2012, 12:40

Re: Ierociem uzlikt patronu dauzumu

Postby Unknowns » 25 Sep 2012, 22:09

Partaisi daļu kur ir pickupi ;) vai iedo man kko sačunīšu
Image

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

Re: Ierociem uzlikt patronu dauzumu

Postby Tektro » 25 Sep 2012, 22:12

krch man mta koordinaatas

Code: Select all

gun1 = CreatePickup(348, 2, -1326.0999755859, 488.70001220703, 11.199999809265);

Kur dod lodes

Code: Select all

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

User avatar
Unknowns
Censoņa
Censoņa
Posts: 364
Joined: 03 Jul 2012, 12:40

Re: Ierociem uzlikt patronu dauzumu

Postby Unknowns » 25 Sep 2012, 22:15

Code: Select all

GivePlayerWeapon(playerid, 348,99999;
tev aiz 99999 jav " ); " !!!

un 348 id nav http://wiki.sa-mp.com/wiki/Weapons
Last edited by Unknowns on 25 Sep 2012, 22:16, edited 1 time in total.
Image

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

Re: Ierociem uzlikt patronu dauzumu

Postby [NF]Magnifico » 25 Sep 2012, 22:16

Code: Select all

gun1 = CreatePickup(348, 2, -1326.0999755859, 488.70001220703, 11.199999809265,-1);

Pieliku lai kods parādītos visos interjeros un pasaulēs.

Code: Select all

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


Izlaboju kļūdu.
348 vietā ieliec ieroča pickupa id, nevis modeļa id.
http://wiki.sa-mp.com/wiki/Weapons
id vari atrast 1 stabiņā aiz bildītēm.

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

Re: Ierociem uzlikt patronu dauzumu

Postby Tektro » 25 Sep 2012, 22:23

o aizgaaja paldies tev magnifico


Return to “Pawn valoda”

Who is online

Users browsing this forum: No registered users and 3 guests