Author Topic: I need one more help!  (Read 7792 times)

0 Members and 2 Guests are viewing this topic.

Offline RasikhQadeer

  • Street Thug
  • *
  • Posts: 49
  • Hero_Great! The Great Scripter!
    • View Profile
I need one more help!
« on: December 31, 2011, 04:50:41 pm »
Can Someone Tell Me Where Can i get the pickup type for pawn? example:-
AddStaticPickup(365, type, X, Y, Z );

I Have Cor-ordinates Pickup Id but don't now where to find the types!


Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
I'm beginning to feel like a Lag God, Lag God

Offline RasikhQadeer

  • Street Thug
  • *
  • Posts: 49
  • Hero_Great! The Great Scripter!
    • View Profile
Re: I need one more help!
« Reply #2 on: January 02, 2012, 03:58:26 pm »
fuzzy read carefully then post something i said i need the types not the id's i already know that page WFT


Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: I need one more help!
« Reply #3 on: January 02, 2012, 04:40:40 pm »
thats what i mean.. The type is model id....
I'm beginning to feel like a Lag God, Lag God

Offline RasikhQadeer

  • Street Thug
  • *
  • Posts: 49
  • Hero_Great! The Great Scripter!
    • View Profile
Re: I need one more help!
« Reply #4 on: January 03, 2012, 04:39:50 pm »
WFT fuzzy type means the type it means that it has special types of id like there will be an id for the pickup type EXAMPLE!!! (i dont know what are the ids this is example) = id is that when player taes picup it respawns after sometime and id 2 is a type like that pickup will spawn for the player after his death and soo on like other types GOT THAT (OW MY HANDS TYPING!  :-\)

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: I need one more help!
« Reply #5 on: January 03, 2012, 04:55:48 pm »
Can Someone Tell Me Where Can i get the pickup type for pawn? example:-
AddStaticPickup(365, type, X, Y, Z );

I Have Cor-ordinates Pickup Id but don't now where to find the types!



Look ...

AddStaticPickup(pickupid,type,X,Y,Z);

pickupid = just a number... you can start with 1

=> AddStaticPickup(1,type,X,Y,Z);

type = pickup model . You can find here a list with some models .

=> AddStaticPickup(1,382,X,Y,Z);

X,Y,Z = Coordonates

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: I need one more help!
« Reply #6 on: January 03, 2012, 04:56:24 pm »
WTF are you talking about.. Lemme Explain This IN CLEAR ENGLISH!!!

[pawn]AddStaticPickup(id,type,Float:X,Float:Y,Float:Z);[/pawn]
This is the format of AddStaticPickup Function!

Arguments

id = Id is the identity number of the pickup! In the default script, sp was set to '0'. The increment increases sp and makes it '1'. You can put 1 or 2 or 3 and so on!!.

type = Type is the MODEL ID of the PICKUP!!! Don't believe me? Check for your self!! This is the script from the default!
[pawn]   AddStaticPickup(id, type, Float:x, Float:y, Float:z, ammo, respawnseconds);

   -for cash pickups use type 501
   -use -1 for respawnseconds to select default respawn 4 minutes
      *   may ditch the manual id arg and have it auto id instead   *

*/  new sp=0;
    AddStaticPickup(sp++,366,323.4258,-278.1154,35.4035);//   third rail conssite health
    AddStaticPickup(sp++,289,312.0720,-237.6959,38.3752);// m60
    AddStaticPickup(sp++,280,313.0720,-236.6959,38.3752);//   m4
    AddStaticPickup(sp++,289,314.0720,-235.6959,38.3752);// m60
    AddStaticPickup(sp++,280,315.0720,-234.6959,38.3752);// m4
    AddStaticPickup(sp++,368,266.4264,-249.8750,36.1315);//   conssite armour
    AddStaticPickup(sp++,366,373.7430,-255.7513,46.0797);//   conssite health
    AddStaticPickup(sp++,368,341.0047,-230.0483,38.3752);//   conssite armour
   AddStaticPickup(sp++,272,341.0047,-230.0483,38.3752);// conSitetopbeamspot2 molotov
   AddStaticPickup(sp++,288,311.0720,-238.6959,38.3752);// consSitetopbeamspot1 flamethrower
   AddStaticPickup(sp++,289,310.9177,-247.0352,38.3752);//conssitetowertop4 m60
   AddStaticPickup(sp++,279,341.0943,-247.0340,38.3752);//conssiteToprailX stubby
   AddStaticPickup(sp++,269,291.3840,-238.8288,29.0104);//conssitelowertopbeamfront chainsaw
//   AddStaticPickup(sp++,258,333.570099,-230.904694,29.646601,1,4);// cellphone
//   AddStaticPickup(sp++,501,335.570099,-230.904694,29.646601,10,4);// $10 cash every 4 seconds
//   AddStaticPickup(sp++,501,335.570099,-230.904694,31.646601,20,8);// $20 cash every 8 seconds
   AddStaticPickup(sp++,285,335.570099,-240.904694,30.0);// $nip3r
   AddStaticPickup(sp++,286,335.570099,-245.904694,30.0);// laser $nip3r
   AddStaticPickup(sp++,287,335.570099,-250.904694,30.0);// rocket
   AddStaticPickup(sp++,366,-113.2,-975.7,10.4);
   AddStaticPickup(sp++,366,-225.1,-1158.1,9.1);
   AddStaticPickup(sp++,366,456.2,-471.4,16.6);
   AddStaticPickup(sp++,366,377.4,467.7,11.6);
   AddStaticPickup(sp++,366,469.6,697.4,11.7);
   AddStaticPickup(sp++,366,385.3,1210.9,19.4);
   AddStaticPickup(sp++,366,384.3,756.6,11.7);
   AddStaticPickup(sp++,366,10.7,1099.0,16.6);
   AddStaticPickup(sp++,366,85.3,402.7,19.8);
   AddStaticPickup(sp++,366,-711.7,-501.7,11.3);
   AddStaticPickup(sp++,366,-404,-588.0,11.6);
   AddStaticPickup(sp++,366,-406.2503,-566.4947,19.5804);
   AddStaticPickup(sp++,366,-478.1,438.5,16.1);
   AddStaticPickup(sp++,366,-67,1263.3,25.1);
   AddStaticPickup(sp++,366,-821.8,1144.8,26.1);
   AddStaticPickup(sp++,366,-1139.4,55.4,11.2);
   AddStaticPickup(sp++,366,-1290.9,91.9,26.9);
   AddStaticPickup(sp++,366,-885.4,-483.4,13.1);
   AddStaticPickup(sp++,366,-925.1,-638.3,16.0);
   AddStaticPickup(sp++,366,-692.4,-1283.8,11.1);
   AddStaticPickup(sp++,366,-655.1,-1506.3,8.1);
   AddStaticPickup(sp++,366,-1399.4,-865.9,20.9);
   AddStaticPickup(sp++,366,-822.6,1137.3,12.4);
   AddStaticPickup(sp++,366,851.4,-78.8,11.5);
   AddStaticPickup(sp++,366,834.2,740.6,11.3);
   AddStaticPickup(sp++,288,-990.6908,263.9287,8.8123);//printunderground flamethrower
   AddStaticPickup(sp++,278,-988.6908,263.9287,8.8123);//printunderground stubby
   AddStaticPickup(sp++,280,-986.6908,263.9287,8.8123);//printunderground m4
   AddStaticPickup(sp++,368,-1034.1990,41.1718,11.3544);// nearpizzagrave armour
   AddStaticPickup(sp++,368,-1472.9331,-866.6178,20.8979);// airportarmour
   AddStaticPickup(sp++,368,-855.5118,-631.2861,11.3756);//24-7armor
   AddStaticPickup(sp++,368,407.7466,-483.1101,12.3432);//copshoparmor
   AddStaticPickup(sp++,289,466.8858,42.1850,33.0713); //maliroof1spawn1 m60
   AddStaticPickup(sp++,278,519.8986,-120.6429,37.9095);// maliroof2pickup2 stubby[/pawn]

Now WHAT have you got to say NOW????
I'm beginning to feel like a Lag God, Lag God

Offline RasikhQadeer

  • Street Thug
  • *
  • Posts: 49
  • Hero_Great! The Great Scripter!
    • View Profile
Re: I need one more help!
« Reply #7 on: January 04, 2012, 03:44:40 pm »
One word to say JUST CHEC THIS FUCK OUT! == http://wiki.sa-mp.com/wiki/PickupTypes

THATS CALLED TYPES ITS FOR SAMP BUT I WANT FOR VCMP!

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: I need one more help!
« Reply #8 on: January 05, 2012, 05:09:41 am »
Its up to you what you think.. ID is the argument that allows the server to identify which Pickup. Type is the model id.. Why don't you go test it yourself. But don't come back here crying.  >:( >:( >:( >:(
I'm beginning to feel like a Lag God, Lag God

Offline Leeter

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: I need one more help!
« Reply #9 on: January 05, 2012, 05:18:58 am »


Rasikh, the problem is that VCMP scripting is not advanced like SAMP.. there are not pickup types like SAMP, just the pickup id, model id, and the pos. no way you can put a pickup type unless you script it..
« Last Edit: January 05, 2012, 07:46:31 pm by Leeter »

Offline DilsonTB

  • Made Man
  • ***
  • Posts: 140
  • VC:MP Developer. & SA:MP Currently Developer
    • View Profile
Re: I need one more help!
« Reply #10 on: January 05, 2012, 02:16:51 pm »
Correct!!      ;D
_______________________________________________
¬ VC:MP Squirrel Developer.
¬ VC:MP pawno Developer.
¬ SA:MP Developer.
¬
¬ Actually developing " San Fierro Roleplay - Latino ", with
my beta team testers, Mapper + Scripter ( me ), 18,000
lines, and is 34% finished. hope to finish it in 4 Or 3 Months.

- MYSQL FULL BASED.
- PCU.
_______________________________________________

Offline RasikhQadeer

  • Street Thug
  • *
  • Posts: 49
  • Hero_Great! The Great Scripter!
    • View Profile
Re: I need one more help!
« Reply #11 on: January 05, 2012, 03:24:28 pm »
Leeter LOVE YOU! :)

now thats called a real brother/Friend !

Offline Morphine

  • Made Man
  • ***
  • Posts: 109
    • View Profile
Re: I need one more help!
« Reply #12 on: January 05, 2012, 05:19:00 pm »
And you're a really ungrateful little -profanity removed-. Fuzzy was doing his best to try and help you and it is your own stupid blind ass that could not read well how shit's done in VC-MP. I'll quote again:

Quote
Look ...

AddStaticPickup(pickupid,type,X,Y,Z);

pickupid = just a number... you can start with 1

=> AddStaticPickup(1,type,X,Y,Z);

type = pickup model . You can find here a list with some models .

=> AddStaticPickup(1,382,X,Y,Z);

X,Y,Z = Coordonates

Pickup ID represents the number of the ID. i.e. Learn how to count (1,2,3,4,5,6,7,8,9,10 {like a list}) while TYPE represents the MODEL ID.
« Last Edit: January 05, 2012, 05:21:50 pm by Morphine »

Offline Leeter

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: I need one more help!
« Reply #13 on: January 05, 2012, 07:47:28 pm »
And you're a really ungrateful little -profanity removed-. Fuzzy was doing his best to try and help you and it is your own stupid blind ass that could not read well how shit's done in VC-MP. I'll quote again:

Quote
Look ...

AddStaticPickup(pickupid,type,X,Y,Z);

pickupid = just a number... you can start with 1

=> AddStaticPickup(1,type,X,Y,Z);

type = pickup model . You can find here a list with some models .

=> AddStaticPickup(1,382,X,Y,Z);

X,Y,Z = Coordonates

Pickup ID represents the number of the ID. i.e. Learn how to count (1,2,3,4,5,6,7,8,9,10 {like a list}) while TYPE represents the MODEL ID.
ups, that's true, but he didnt understood what rasikh wanted to do.. but every help should be appreciated..

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: I need one more help!
« Reply #14 on: January 06, 2012, 05:42:06 am »
nah.. I understand what Rasikh is trying to do. Which is adding pickups. He want to know what is TYPE, so I posted this,
http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/ModelIDs
.. But he just don't understand. The problem was solved from my reply but he just don't want to listen.
I'm beginning to feel like a Lag God, Lag God