Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: RasikhQadeer 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!
(http://i43.tinypic.com/4q2y2q.png)
-
http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/ModelIDs (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/ModelIDs)
-
fuzzy read carefully then post something i said i need the types not the id's i already know that page WFT
(http://i43.tinypic.com/4q2y2q.png)
-
thats what i mean.. The type is model id....
-
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! :-\)
-
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!
(http://i43.tinypic.com/4q2y2q.png)
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 (http://thijn.vrocker-hosting.co.uk/VCWiki/index.php/ModelIDs) a list with some models .
=> AddStaticPickup(1,382,X,Y,Z);
X,Y,Z = Coordonates
-
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????
-
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!
-
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. >:( >:( >:( >:(
-
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..
-
Correct!! ;D
-
Leeter LOVE YOU! :)
now thats called a real brother/Friend !
-
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:
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.
-
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:
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..
-
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 (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.
-
What he wants is to script the pickups to do certain things.
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
However, because he's such an ungrateful little sh*t, I'm not willing to help.
-
why dont ur fucking minds take this thing that this 1 2 3 fuckness is not working i tried it !
-
this 1 2 3 fuckness is not working i tried it !
Maybe if you took the time to learn and ask questions respectfully instead of being the egotacular ass you're being right now, you'd get somewhere. Some humility would do you some good.
-
Tell you what, I'll code it and send it right through your 11 year old fat ass.
-
all of you having bumpy assho are fu*** around here and giving sh*** suggestions better i go to another guy!
-
Err.. Fuzzy did his best to help you, you failed to understand...
But, Rakishq is right
NOT!
I hope everything is solved, if not, leave a comment.
TIP : Learn to ask
TIP2 : Learn to understand ( lol )
TIP3 : Learn to respect others