Help in Pickups!!
#1

Hi Actually I was Trying To Create Pickups But Its Not Loads I Mean When I Am Going To Picking Up this then nothing happenings help ?

PHP код:
public OnPlayerPickUpPickup(playeridpickupid)
{
if(
pickupid == pdeagle)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Desert Eagle With Ammo!");
GivePlayerWeapon(playerid2430); // Give the player the money
}
if(
pickupid == psniper)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Sniper With Ammo.");
GivePlayerWeapon(playerid3420); // Give the player the money
}
if(
pickupid == pgrenade)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Some Grenades");
GivePlayerWeapon(playerid165); // Give the player the money
}
if(
pickupid == pshotgun)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Shotgun with Ammo");
GivePlayerWeapon(playerid2720); // Give the player the money
}
if(
pickupid == procket)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Rocket Launcher");
GivePlayerWeapon(playerid355); // Give the player the money
}
if(
pickupid == pmolotiv)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Molotov Cocktail");
GivePlayerWeapon(playerid185); // Give the player the money
}
if(
pickupid == p9mm)
{
SendClientMessage(playeridCOLOR_WHITE"You Found 9mm");
GivePlayerWeapon(playerid2230); // Give the player the money
}
if(
pickupid == pm4)
{
SendClientMessage(playeridCOLOR_WHITE"You Found M4");
GivePlayerWeapon(playerid3130); // Give the player the money
}
if(
pickupid == pheat)
{
SendClientMessage(playeridCOLOR_WHITE"You Found HeatSeeker");
GivePlayerWeapon(playerid365); // Give the player the money
}
if(
pickupid == pmini)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Minigun");
GivePlayerWeapon(playerid38120); // Give the player the money
}
if(
pickupid == pbomb)
{
SendClientMessage(playeridCOLOR_WHITE"You Found SatChel Charge");
GivePlayerWeapon(playerid395); // Give the player the money
}
if(
pickupid == pnight)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Night Vis");
GivePlayerWeapon(playerid441); // Give the player the money
}
if(
pickupid == pthermal)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Thermal Goggles");
GivePlayerWeapon(playerid451); // Give the player the money
}
if(
pickupid == premote)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Detonator");
GivePlayerWeapon(playerid401); // Give the player the money
}
if(
pickupid == pflame)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Flame Thrower");
GivePlayerWeapon(playerid37120); // Give the player the money
}
if(
pickupid == psilence)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Silenced 9mm");
GivePlayerWeapon(playerid2320); // Give the player the money
}
if(
pickupid == ptear)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Tear Gas");
GivePlayerWeapon(playerid175); // Give the player the money
}
if(
pickupid == pmicro5)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Micro SMG");
GivePlayerWeapon(playerid2850); // Give the player the money
}
if(
pickupid == pmp5)
{
SendClientMessage(playeridCOLOR_WHITE"You Found MP5");
GivePlayerWeapon(playerid2935); // Give the player the money
}
if(
pickupid == pak47)
{
SendClientMessage(playeridCOLOR_WHITE"You Found AK-47");
GivePlayerWeapon(playerid3040); // Give the player the money
}
if(
pickupid == prifle)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Country Rifle");
GivePlayerWeapon(playerid3330); // Give the player the money
}
if(
pickupid == ptec9)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Tec-9");
GivePlayerWeapon(playerid3250); // Give the player the money
}
if(
pickupid == pchest)
{
SendClientMessage(playeridCOLOR_WHITE"You Found 5,000 $ Cash");
GivePlayerMoney(playerid5000); // Give the player the money
}
if(
pickupid == pchest1)
{
SendClientMessage(playeridCOLOR_WHITE"You Found 10,000 $ Cash");
GivePlayerMoney(playerid5000); // Give the player the money
}
if(
pickupid == psawnoff)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Sawn Off Shotgun");
GivePlayerWeapon(playerid2620); // Give the player the money
}
if(
pickupid == phpm)
SendClientMessage(playeridCOLOR_WHITE"You Found Health Pack 200 HP");
SetPlayerHealth(playerid200);
return 
1;

its also define and i added save possitions in the ongamemodeinit like this
*( pgrenade = CreatePickup(19832,3,-6.7468,2353.9668,24.1406, 92); )
Reply
#2

From wiki:

pawn Код:
new pShotgun;
OnGameModeInit:

pawn Код:
pShotgun= CreatePickup(1274, 2, 0.0, 0.0, 9.0);
OnPlayerPickupPickup:

pawn Код:
if(pickupid == pShotgun)
    {
        //Give him shotgun
    }
And..

I suggest you to use switch statements and a streamer.
Reply
#3

its already define these are lines are included still when i go to pickup then its nothing happening lol
Reply
#4

Use a streamer then. Check if this fixs your problem.

pawn Код:
public OnPlayerPickUpDynamicPickup( playerid, pickupid )
{
    //Your stuff
    return 1;
}
Reply
#5

hmmm thanx buddy sorry but take a look on onplayerpickups again maybe something wrong there bcz some pickups are working and something not ? sorry maybe there is something wrons thank you
Reply
#6

I don't see anything strange. (Apart the spaces before and after the braces). Show me how you created this pickups.
Reply
#7

Quote:
Originally Posted by RJTabish
Посмотреть сообщение
its already define these are lines are included still when i go to pickup then its nothing happening lol
Show these, and put a print line in the callback to show if you are picking anything up.
Reply
#8

Here Everything is Here Now Tell Me Whats The Problem WHen I pickup something then nothing happenings


PHP код:
new pdeagle;
new 
psniper;
new 
pgrenade;
new 
pshotgun;
new 
procket;
new 
pmolotiv;
new 
p9mm;
new 
pm4;
new 
pheat;
new 
pmini;
new 
pbomb;
new 
pnight;
new 
pthermal;
new 
premote;
new 
pflame;
new 
psilence;
new 
ptear;
new 
pmicro5;
new 
pmp5;
new 
pak47;
new 
prifle;
new 
ptec9;
new 
pchest;
new 
pchest1;
new 
psawnoff;
new 
phpm
PHP код:
public OnPlayerPickUpPickup(playeridpickupid)
{
if(
pickupid == pdeagle)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Desert Eagle With Ammo!");
GivePlayerWeapon(playerid2430); // Give the player the money
return 1;
}
if(
pickupid == psniper)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Sniper With Ammo.");
GivePlayerWeapon(playerid3420); // Give the player the money
return 1;
}
if(
pickupid == pgrenade)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Some Grenades");
GivePlayerWeapon(playerid165); // Give the player the money
return 1;
}
if(
pickupid == pshotgun)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Shotgun with Ammo");
GivePlayerWeapon(playerid2720); // Give the player the money
return 1;
}
if(
pickupid == procket)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Rocket Launcher");
GivePlayerWeapon(playerid355); // Give the player the money
return 1;
}
if(
pickupid == pmolotiv)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Molotov Cocktail");
GivePlayerWeapon(playerid185); // Give the player the money
return 1;
}
if(
pickupid == p9mm)
{
SendClientMessage(playeridCOLOR_WHITE"You Found 9mm");
GivePlayerWeapon(playerid2230); // Give the player the money
return 1;
}
if(
pickupid == pm4)
{
SendClientMessage(playeridCOLOR_WHITE"You Found M4");
GivePlayerWeapon(playerid3130); // Give the player the money
return 1;
}
if(
pickupid == pheat)
{
SendClientMessage(playeridCOLOR_WHITE"You Found HeatSeeker");
GivePlayerWeapon(playerid365); // Give the player the money
return 1;
}
if(
pickupid == pmini)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Minigun");
GivePlayerWeapon(playerid38120); // Give the player the money
return 1;
}
if(
pickupid == pbomb)
{
SendClientMessage(playeridCOLOR_WHITE"You Found SatChel Charge");
GivePlayerWeapon(playerid395); // Give the player the money
return 1;
}
if(
pickupid == pnight)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Night Vis");
GivePlayerWeapon(playerid441); // Give the player the money
return 1;
}
if(
pickupid == pthermal)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Thermal Goggles");
GivePlayerWeapon(playerid451); // Give the player the money
return 1;
}
if(
pickupid == premote)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Detonator");
GivePlayerWeapon(playerid401); // Give the player the money
return 1;
}
if(
pickupid == pflame)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Flame Thrower");
GivePlayerWeapon(playerid37120); // Give the player the money
return 1;
}
if(
pickupid == psilence)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Silenced 9mm");
GivePlayerWeapon(playerid2320); // Give the player the money
return 1;
}
if(
pickupid == ptear)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Tear Gas");
GivePlayerWeapon(playerid175); // Give the player the money
return 1;
}
if(
pickupid == pmicro5)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Micro SMG");
GivePlayerWeapon(playerid2850); // Give the player the money
return 1;
}
if(
pickupid == pmp5)
{
SendClientMessage(playeridCOLOR_WHITE"You Found MP5");
GivePlayerWeapon(playerid2935); // Give the player the money
return 1;
}
if(
pickupid == pak47)
{
SendClientMessage(playeridCOLOR_WHITE"You Found AK-47");
GivePlayerWeapon(playerid3040); // Give the player the money
return 1;
}
if(
pickupid == prifle)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Country Rifle");
GivePlayerWeapon(playerid3330); // Give the player the money
return 1;
}
if(
pickupid == ptec9)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Tec-9");
GivePlayerWeapon(playerid3250); // Give the player the money
return 1;
}
if(
pickupid == pchest)
{
SendClientMessage(playeridCOLOR_WHITE"You Found 5,000 $ Cash");
GivePlayerMoney(playerid5000); // Give the player the money
return 1;
}
if(
pickupid == pchest1)
{
SendClientMessage(playeridCOLOR_WHITE"You Found 10,000 $ Cash");
GivePlayerMoney(playerid5000); // Give the player the money
return 1;
}
if(
pickupid == psawnoff)
{
SendClientMessage(playeridCOLOR_WHITE"You Found Sawn Off Shotgun");
GivePlayerWeapon(playerid2620); // Give the player the money
return 1;
}
if(
pickupid == phpm)
SendClientMessage(playeridCOLOR_WHITE"You Found Health Pack 200 HP");
SetPlayerHealth(playerid200);
return 
1;

PHP код:
public OnGameModeInit()
{
    
pgrenade CreatePickup(19832,3,-6.7468,2353.9668,24.140692);
    
pgrenade CreatePickup(19832,3,158.2474,2773.1978,72.054192);
    
pgrenade CreatePickup(19832,3,2501.4106,-1062.4116,70.164792);
    
pgrenade CreatePickup(19832,3,2537.1404,-1440.6437,24.000092);
    
pgrenade CreatePickup(19832,3,2326.5063,-1194.4266,27.976692);
    
pgrenade CreatePickup(19832,3,2009.6896,2750.1912,10.820392);
    
pgrenade CreatePickup(19832,3,2552.6816,2245.7549,10.820392);
    
pgrenade CreatePickup(19832,3,1795.4884,1716.9352,6.721192);
    
pgrenade CreatePickup(19832,3,1839.1543,669.1522,15.789192);
    
pgrenade CreatePickup(19832,3,1602.6566,1969.6896,13.872292);
    
pgrenade CreatePickup(19832,3,1754.1204,2148.3584,10.858092);
    
pgrenade CreatePickup(19832,3,2313.3882,1790.3312,10.820392);
    
pgrenade CreatePickup(19832,3,-2413.3308,-614.9204,132.625792);
    
pgrenade CreatePickup(19832,3,1140.2347,-1564.0391,13.547192);
    
pgrenade CreatePickup(19832,3,1227.6318,-1017.2735,36.335992);
    
pgrenade CreatePickup(19832,3,842.8817,-1008.8325,28.466392);
    
pgrenade CreatePickup(19832,3,1350.7684,-1759.2393,13.507892);
    
pgrenade CreatePickup(19832,3,2487.0779,-1687.5911,13.510992);
    
pgrenade CreatePickup(19832,3,2866.7129,-2038.3315,11.100792);
    
pgrenade CreatePickup(19832,3,2157.9565,-1746.3773,13.546992);
    
pgrenade CreatePickup(19832,3,2130.0908,-1364.8331,25.546392);
    
pdeagle CreatePickup(19832,3,-19.0718,2366.8125,23.784192);
    
pdeagle CreatePickup(19832,3,298.3513,2686.2126,15.313792);
    
pdeagle CreatePickup(19832,3,55.9460,2319.9070,21.749092);
    
pdeagle CreatePickup(19832,3,2494.0828,-961.8569,85.855392);
    
pdeagle CreatePickup(19832,3,2486.2993,-1279.2183,31.042992);
    
pdeagle CreatePickup(19832,3,2607.8225,-1350.7675,35.227192);
    
pdeagle CreatePickup(19832,3,1690.6708,1408.4536,11.697092);
    
pdeagle CreatePickup(19832,3,1587.8322,1698.0894,10.820392);
    
pdeagle CreatePickup(19832,3,2492.0896,1988.7877,10.820392);
    
pdeagle CreatePickup(19832,3,2193.5581,1504.9127,10.820392);
    
pdeagle CreatePickup(19832,3,1693.4574,1748.5098,10.822792);
    
pdeagle CreatePickup(19832,3,1300.0317,2219.5085,23.478292);
    
pdeagle CreatePickup(19832,3,2304.7295,1714.4109,10.820392);
    
pdeagle CreatePickup(19832,3,-1721.4536,707.3105,24.463292);
    
pdeagle CreatePickup(19832,3,1117.0643,-1634.1821,20.558592);
    
pdeagle CreatePickup(19832,3,1270.8398,-945.0209,42.378392);
    
pdeagle CreatePickup(19832,3,2006.2223,-1117.9697,26.746692);
    
pdeagle CreatePickup(19832,3,2615.8928,-1055.6440,69.578992);
    
pdeagle CreatePickup(19832,3,1304.6355,-864.3409,39.578192);
    
pdeagle CreatePickup(19832,3,1041.1582,-1026.4877,32.101692);
    
pdeagle CreatePickup(19832,3,1367.9636,-1281.1573,13.546992);
    
    
psniper CreatePickup(19832,3,187.2456,2459.9326,16.484492);
    
psniper CreatePickup(19832,3,863.7106,-976.9048,40.920292);
    
psniper CreatePickup(19832,3,2522.4050,-1196.2849,56.451392);
    
psniper CreatePickup(19832,3,1322.5187,-1439.0072,20.453292);
    
psniper CreatePickup(19832,3,1925.6877,2772.3286,15.065892);
    
psniper CreatePickup(19832,3,2016.2533,645.0187,15.345492);
    
psniper CreatePickup(19832,3,1288.6340,2215.8948,10.549192);
    
psniper CreatePickup(19832,3,2478.1470,1919.1672,13.482692);
    
psniper CreatePickup(19832,3,1191.2443,-1652.4235,13.936792);
    
psniper CreatePickup(19832,3,1379.2301,-1087.9382,27.202192);
    
psniper CreatePickup(19832,3,840.7219,-1343.1211,7.171992);
    
psniper CreatePickup(19832,3,1935.0377,-1410.8849,13.570392);
    
psniper CreatePickup(19832,3,2407.5750,-1915.2135,13.382892);
    
    
pshotgun CreatePickup(19832,3,0.2883,2372.4766,20.822492);
    
pshotgun CreatePickup(19832,3,218.3452,2743.5369,59.612392);
    
pshotgun CreatePickup(19832,3,2435.1318,-1009.3029,57.766292);
    
pshotgun CreatePickup(19832,3,2648.5181,-1290.7162,45.552692);
    
pshotgun CreatePickup(19832,3,2473.2263,-1407.6388,28.829392);
    
pshotgun CreatePickup(19832,3,2289.2969,-1584.6718,3.620792);
    
pshotgun CreatePickup(19832,3,1331.4786,1641.3065,10.820392);
    
pshotgun CreatePickup(19832,3,2033.8921,2753.7634,10.820392);
    
pshotgun CreatePickup(19832,3,2508.9204,2265.1382,15.433292);
    
pshotgun CreatePickup(19832,3,1663.6272,1642.7369,10.820392);
    
pshotgun CreatePickup(19832,3,1839.7397,710.5919,15.818692);
    
pshotgun CreatePickup(19832,3,1601.6101,2035.3131,11.237092);
    
pshotgun CreatePickup(19832,3,1848.6361,1824.2960,10.189592);
    
pshotgun CreatePickup(19832,3,2458.8564,1790.9618,10.813292);
    
pshotgun CreatePickup(19832,3,2190.7837,1859.8231,10.820392);
    
pshotgun CreatePickup(19832,3,1074.0508,-1309.9818,17.054392);
    
pshotgun CreatePickup(19832,3,1459.1918,-1140.0846,24.065492);
    
pshotgun CreatePickup(19832,3,1087.9775,-923.2145,43.390692);
    
pshotgun CreatePickup(19832,3,1409.1193,-1785.9639,13.546992);
    
pshotgun CreatePickup(19832,3,2103.2019,-1806.9385,13.554792);
    
pshotgun CreatePickup(19832,3,2142.9319,-992.0511,62.405292);
    
    
procket CreatePickup(19832,3,289.4834,2578.5015,16.476692);
    
procket CreatePickup(19832,3,2531.9475,-959.2876,85.334492);
    
procket CreatePickup(19832,3,2479.3877,-1355.6232,28.838892);
    
procket CreatePickup(19832,3,2334.2883,-1364.9440,24.019392);
    
procket CreatePickup(19832,3,2010.4642,2717.7556,16.231792);
    
procket CreatePickup(19832,3,2505.8884,2291.2458,10.820392);
    
procket CreatePickup(19832,3,2181.6038,1422.1932,10.820392);
    
procket CreatePickup(19832,3,1887.8223,1130.4865,10.820392);
    
procket CreatePickup(19832,3,1379.0255,2211.5344,12.015692);
    
procket CreatePickup(19832,3,2458.8564,1790.9618,10.813292);
    
procket CreatePickup(19832,3,861.7742,-1245.2997,14.784892);
    
procket CreatePickup(19832,3,1127.2980,-1545.7660,22.751092);
    
procket CreatePickup(19832,3,778.4747,-1134.2831,23.828192);
    
    
pmolotiv CreatePickup(19832,3,56.7212,2379.6448,16.596492);
    
pmolotiv CreatePickup(19832,3,62.2504,2613.9460,16.484492);
    
pmolotiv CreatePickup(19832,3,2459.4414,-1059.1818,62.510192);
    
pmolotiv CreatePickup(19832,3,2517.0286,-1244.5189,39.022392);
    
pmolotiv CreatePickup(19832,3,253.7937,-1222.4050,75.261392);
    
pmolotiv CreatePickup(19832,3,1324.3140,1698.5892,10.820392);
    
pmolotiv CreatePickup(19832,3,2165.1821,2804.1580,15.851692);
    
pmolotiv CreatePickup(19832,3,2548.6626,2198.3118,13.872292);
    
pmolotiv CreatePickup(19832,3,1911.5818,1756.7000,18.904692);
    
pmolotiv CreatePickup(19832,3,2440.2808,1300.3159,10.820392);
    
pmolotiv CreatePickup(19832,3,1881.9110,1064.4653,10.820392);
    
pmolotiv CreatePickup(19832,3,1411.1232,2158.0383,12.015692);
    
pmolotiv CreatePickup(19832,3,2281.1726,1743.6705,11.053192);
    
pmolotiv CreatePickup(19832,3,-2235.4407,-626.6022,64.825292);
    
pmolotiv CreatePickup(19832,3,1160.4927,-1603.0106,13.546992);
    
pmolotiv CreatePickup(19832,3,1059.7404,-1105.9796,28.045192);
    
pmolotiv CreatePickup(19832,3,733.4169,-1356.2584,23.585992);
    
pmolotiv CreatePickup(19832,3,2150.1431,-1447.5784,25.774692);
    
pmolotiv CreatePickup(19832,3,2648.3738,-2036.7549,13.550092);
    
pmolotiv CreatePickup(19832,3,2271.6357,-1029.1036,52.780492);
    
pmolotiv CreatePickup(19832,3,1790.8960,-1594.9515,13.518492);
    
p9mm CreatePickup(19832,3,95.1621,2411.9526,16.814492);
    
p9mm CreatePickup(19832,3,846.0739,-906.6384,68.773492);
    
p9mm CreatePickup(19832,3,2754.0125,-1181.1732,69.398792);
    
p9mm CreatePickup(19832,3,2492.2534,-1240.1401,37.643592);
    
p9mm CreatePickup(19832,3,2608.8760,-1400.7792,35.311392);
    
p9mm CreatePickup(19832,3,2324.1057,-1222.3002,22.621592);
    
p9mm CreatePickup(19832,3,1942.0809,2721.1587,15.866692);
    
p9mm CreatePickup(19832,3,2379.7236,2648.2671,8.327592);
    
p9mm CreatePickup(19832,3,1584.3364,1517.8428,10.832292);
    
p9mm CreatePickup(19832,3,2038.1006,646.1705,15.773692);
    
p9mm CreatePickup(19832,3,1605.0320,1885.3507,11.015692);
    
p9mm CreatePickup(19832,3,1541.2865,2305.0823,10.820392);
    
p9mm CreatePickup(19832,3,2210.2290,1519.7045,10.820392);
    
p9mm CreatePickup(19832,3,957.9407,-1209.9104,17.068092);
    
p9mm CreatePickup(19832,3,1096.6908,-1432.9514,22.765792);
    
p9mm CreatePickup(19832,3,1195.1859,-1009.4953,35.925892);
    
p9mm CreatePickup(19832,3,696.8489,-1185.5159,15.575592);
    
p9mm CreatePickup(19832,3,1853.7122,-1073.1459,23.828192);
    
p9mm CreatePickup(19832,3,2249.2903,-1806.7557,13.554692);
    
p9mm CreatePickup(19832,3,2495.7852,-1056.7327,73.560292);
    
p9mm CreatePickup(19832,3,1444.9017,-2367.6536,13.546992);
    
pm4 CreatePickup(19832,3,333.2085,2629.6150,16.175092);
    
pm4 CreatePickup(19832,3,882.7225,-891.9200,66.207292);
    
pm4 CreatePickup(19832,3,2556.8752,-1207.5685,61.537392);
    
pm4 CreatePickup(19832,3,2777.2927,-1327.8950,46.500092);
    
pm4 CreatePickup(19832,3,2304.3442,-1462.0527,20.960992);
    
pm4 CreatePickup(19832,3,1344.4047,1822.0554,10.820392);
    
pm4 CreatePickup(19832,3,2420.8364,2762.9656,10.820392);
    
pm4 CreatePickup(19832,3,2469.4744,2030.5939,21.112392);
    
pm4 CreatePickup(19832,3,2323.8669,1283.2158,97.439292);
    
pm4 CreatePickup(19832,3,1889.0150,972.7867,10.820392);
    
pm4 CreatePickup(19832,3,1457.7592,2259.2168,11.029192);
    
pm4 CreatePickup(19832,3,1762.0708,2072.3086,10.820392);
    
pm4 CreatePickup(19832,3,2339.8555,1619.7915,10.820392);
    
pm4 CreatePickup(19832,3,2161.5913,1936.8424,10.820392);
    
pm4 CreatePickup(19832,3,1070.4785,-1335.6509,13.554792);
    
pm4 CreatePickup(19832,3,1284.8643,-1330.3295,13.546492);
    
pm4 CreatePickup(19832,3,951.3658,-983.1931,39.025192);
    
pm4 CreatePickup(19832,3,1709.2889,-1680.0010,20.194592);
    
pm4 CreatePickup(19832,3,2521.6785,-1657.9122,14.872192);
    
pm4 CreatePickup(19832,3,2854.4856,-1344.4047,11.062592);
    
pm4 CreatePickup(19832,3,1128.8435,-2068.2566,69.007892);
    
pheat CreatePickup(19832,3,129.0713,2438.3616,16.726992);
    
pheat CreatePickup(19832,3,2464.7034,-1012.0846,60.113792);
    
pheat CreatePickup(19832,3,2485.3743,-1388.3888,28.837092);
    
pheat CreatePickup(19832,3,2303.1172,-1638.8044,14.579392);
    
pheat CreatePickup(19832,3,1857.5181,2750.5510,10.835992);
    
pheat CreatePickup(19832,3,2566.5964,2043.5243,11.101692);
    
pheat CreatePickup(19832,3,2152.0034,1475.0459,10.820392);
    
pheat CreatePickup(19832,3,1945.6458,923.4064,10.820392);
    
pheat CreatePickup(19832,3,1422.9113,2265.6626,11.304792);
    
pheat CreatePickup(19832,3,2091.0254,1763.7716,10.671992);
    
pheat CreatePickup(19832,3,2307.8779,2013.8810,10.827392);
    
    
pmini CreatePickup(19832,3,898.0754,-936.4308,42.560192);
    
pmini CreatePickup(19832,3,1124.8124,-1271.5842,13.546992);
    
pmini CreatePickup(19832,3,2104.2302,2741.3201,10.820392);
    
pmini CreatePickup(19832,3,2148.5754,1436.2928,10.820392);
    
pmini CreatePickup(19832,3,1563.0364,2073.2813,11.359492);
    
pmini CreatePickup(19832,3,2582.1963,1810.0963,10.820392);
    
pmini CreatePickup(19832,3,1110.7821,-1606.1316,13.629792);
    
pmini CreatePickup(19832,3,2087.8267,-1183.6169,25.957692);
    
    
pbomb CreatePickup(19832,3,107.2445,2421.6777,20.361792);
    
pbomb CreatePickup(19832,3,923.2467,-919.1254,42.601692);
    
pbomb CreatePickup(19832,3,2597.0957,-1241.2815,47.855292);
    
pbomb CreatePickup(19832,3,263.9726,-1217.0873,75.181292);
    
pbomb CreatePickup(19832,3,2295.6731,-1253.6609,24.008892);
    
pbomb CreatePickup(19832,3,2074.3320,2755.7466,10.820392);
    
pbomb CreatePickup(19832,3,2520.8325,2159.3096,10.820392);
    
pbomb CreatePickup(19832,3,1831.0754,1557.9584,9.567192);
    
pbomb CreatePickup(19832,3,1840.4941,746.6455,15.744592);
    
pbomb CreatePickup(19832,3,1626.0011,1817.8693,10.820392);
    
pbomb CreatePickup(19832,3,1383.8597,2131.6738,11.023492);
    
pbomb CreatePickup(19832,3,2171.3420,1757.7079,10.820392);
    
pbomb CreatePickup(19832,3,2351.6494,1885.5621,10.717292);
    
pbomb CreatePickup(19832,3,970.7838,-1301.0028,13.560692);
    
pbomb CreatePickup(19832,3,2076.6956,769.6390,11.314992);
    
pbomb CreatePickup(19832,3,1669.6736,2053.1799,11.367292);
    
pbomb CreatePickup(19832,3,2179.1003,1995.1765,10.820392);
    
pbomb CreatePickup(19832,3,1333.8124,-1268.0804,13.546992);
    
pbomb CreatePickup(19832,3,749.5294,-1116.2194,19.775292);
    
pbomb CreatePickup(19832,3,1861.5146,-1323.2247,13.542492);
    
pbomb CreatePickup(19832,3,2567.9011,-1031.2388,69.583892);
    
pnight CreatePickup(19832,3,262.0626,2751.8708,35.885392);
    
pnight CreatePickup(19832,3,2610.1189,-1070.4938,69.597892);
    
pnight CreatePickup(19832,3,2482.9741,-1462.8033,24.015992);
    
pnight CreatePickup(19832,3,2313.8274,-1539.8339,25.343892);
    
pnight CreatePickup(19832,3,2250.1787,2804.3911,18.929792);
    
pnight CreatePickup(19832,3,2131.0183,1932.3926,10.671992);
    
pnight CreatePickup(19832,3,2487.7212,1236.8365,10.820392);
    
pnight CreatePickup(19832,3,1590.2778,1935.2585,10.820392);
    
pnight CreatePickup(19832,3,1695.3187,2001.5787,10.978092);
    
pnight CreatePickup(19832,3,2396.5925,1939.3870,11.649992);
    
pnight CreatePickup(19832,3,1221.8015,-1508.2430,10.046992);
    
    
pthermal CreatePickup(19832,3,300.1417,2730.2959,26.698292);
    
pthermal CreatePickup(19832,3,2475.1199,-1058.9813,66.835992);
    
pthermal CreatePickup(19832,3,2490.6411,-1351.7378,38.668592);
    
pthermal CreatePickup(19832,3,1325.5294,1771.7147,10.820392);
    
pthermal CreatePickup(19832,3,1879.5474,1778.6252,18.933992);
    
pthermal CreatePickup(19832,3,1692.2406,2028.7605,10.992292);
    
pthermal CreatePickup(19832,3,2445.9612,1773.5554,10.820392);
    
pthermal CreatePickup(19832,3,1117.5665,-1521.9384,15.796992);
    
pthermal CreatePickup(19832,3,1135.7582,-1671.1218,13.801192);
    
pthermal CreatePickup(19832,3,2242.7358,-1927.9886,14.993792);
    
pthermal CreatePickup(19832,3,859.8602,-974.4525,35.550792);
    
    
premote CreatePickup(19832,3,266.0632,2691.6721,17.844092);
    
premote CreatePickup(19832,3,2567.7009,-1070.7394,69.250592);
    
premote CreatePickup(19832,3,1147.7871,-1360.3118,13.681492);
    
premote CreatePickup(19832,3,1706.4545,1622.6002,10.413892);
    
premote CreatePickup(19832,3,2494.6646,2337.1230,10.820392);
    
premote CreatePickup(19832,3,2454.2988,1236.7271,10.820392);
    
premote CreatePickup(19832,3,2445.9612,1773.5554,10.820392);
    
premote CreatePickup(19832,3,1413.0381,2157.8152,19.270792);
    
premote CreatePickup(19832,3,2335.0681,1699.9298,10.820392);
    
premote CreatePickup(19832,3,1010.8322,-1262.8711,23.063792);
    
premote CreatePickup(19832,3,1445.9702,-1284.4238,13.546992);
    
    
pflame CreatePickup(19832,3,261.8691,2547.9919,16.812592);
    
pflame CreatePickup(19832,3,2524.0967,-1037.3914,69.574692);
    
pflame CreatePickup(19832,3,2541.0962,-1422.1373,34.654592);
    
pflame CreatePickup(19832,3,1719.7334,1363.3000,10.640692);
    
pflame CreatePickup(19832,3,2624.6667,2060.9463,14.116192);
    
pflame CreatePickup(19832,3,1838.6877,690.1937,15.286092);
    
pflame CreatePickup(19832,3,1505.8027,2082.3413,10.820392);
    
pflame CreatePickup(19832,3,2249.1699,1752.1808,10.820392);
    
pflame CreatePickup(19832,3,-1900.7900,784.6144,40.836392);
    
pflame CreatePickup(19832,3,1127.2980,-1545.7660,22.751092);
    
pflame CreatePickup(19832,3,1290.8091,-1132.7893,23.828192);
    
pflame CreatePickup(19832,3,1935.0377,-1410.8849,13.570392);
    
pflame CreatePickup(19832,3,2334.0664,-1055.3788,52.351692);
    
    
psilence CreatePickup(19832,3,859.5763,-981.7322,37.192592);
    
psilence CreatePickup(19832,3,2666.9363,-1122.4956,67.257792);
    
psilence CreatePickup(19832,3,2689.8438,-1329.9518,44.106092);
    
psilence CreatePickup(19832,3,1323.2360,1736.8795,10.820392);
    
psilence CreatePickup(19832,3,2359.4282,2458.5093,10.820392);
    
psilence CreatePickup(19832,3,1955.3140,1761.7266,12.743792);
    
psilence CreatePickup(19832,3,2076.2498,691.4604,11.416492);
    
psilence CreatePickup(19832,3,1332.4225,2212.5081,12.015692);
    
psilence CreatePickup(19832,3,2492.2686,1812.2195,10.820392);
    
psilence CreatePickup(19832,3,-2392.1187,-586.4630,132.515692);
    
psilence CreatePickup(19832,3,1068.2277,-1631.5322,13.592392);
    
psilence CreatePickup(19832,3,1233.2528,-1009.7771,36.328392);
    
psilence CreatePickup(19832,3,742.9346,-1379.8696,25.692292);
    
psilence CreatePickup(19832,3,1975.2975,-1234.7504,20.046992);
    
psilence CreatePickup(19832,3,2325.0530,-1720.0972,13.546992);
    
psilence CreatePickup(19832,3,1195.1859,-1009.4953,35.925892);
    
psilence CreatePickup(19832,3,2372.3345,-1045.6938,54.126192);
    
psilence CreatePickup(19832,3,1358.9460,-1771.9403,13.484792);
    
psilence CreatePickup(19832,3,1088.4847,-1482.7244,22.750892);
    
psilence CreatePickup(19832,3,2400.1843,1881.6326,10.076392);
    
psilence CreatePickup(19832,3,1168.5608,2154.8877,10.812592);
    
ptear CreatePickup(19832,3,102.3476,2664.0278,40.414592);
    
ptear CreatePickup(19832,3,2439.9011,-1059.6049,57.278792);
    
ptear CreatePickup(19832,3,2541.9482,-1209.5966,56.905892);
    
ptear CreatePickup(19832,3,1139.7656,-1310.1331,13.582692);
    
ptear CreatePickup(19832,3,1331.4786,1641.3065,10.820392);
    
ptear CreatePickup(19832,3,2224.6267,2800.5164,16.250192);
    
ptear CreatePickup(19832,3,2525.7996,2040.5804,11.164592);
    
ptear CreatePickup(19832,3,2345.6311,1287.5168,67.468892);
    
ptear CreatePickup(19832,3,2061.3547,791.5242,11.089892);
    
ptear CreatePickup(19832,3,1493.5391,2220.4131,11.023492);
    
ptear CreatePickup(19832,3,1663.6370,2131.0972,10.820392);
    
ptear CreatePickup(19832,3,2370.0979,1767.5035,10.820392);
    
ptear CreatePickup(19832,3,977.4709,-1254.9983,16.947692);
    
ptear CreatePickup(19832,3,1260.0770,-1441.1515,13.595492);
    
ptear CreatePickup(19832,3,1224.3654,-1214.3475,18.602692);
    
ptear CreatePickup(19832,3,1853.5898,-1171.1298,23.828192);
    
ptear CreatePickup(19832,3,2693.6511,-2016.0966,13.541892);
    
ptear CreatePickup(19832,3,1427.3949,-873.7024,50.654692);
    
ptear CreatePickup(19832,3,2398.3110,-1454.7618,24.009592);
    
ptear CreatePickup(19832,3,955.8954,-1047.2599,30.242292);
    
ptear CreatePickup(19832,3,1002.8190,-1296.7389,13.546992);
    
    
pmicro5 CreatePickup(19832,3,2513.8750,-962.0075,85.298892);
    
pmicro5 CreatePickup(19832,3,2696.5828,-1221.8248,62.806492);
    
pmicro5 CreatePickup(19832,3,2594.2117,-1411.6266,28.020692);
    
pmicro5 CreatePickup(19832,3,1699.2335,1369.9031,10.749892);
    
pmicro5 CreatePickup(19832,3,2194.1414,2801.3203,15.546892);
    
pmicro5 CreatePickup(19832,3,2620.8013,2030.0629,10.820392);
    
pmicro5 CreatePickup(19832,3,2074.3462,1861.9170,11.709892);
    
pmicro5 CreatePickup(19832,3,2178.3242,1390.9847,10.820392);
    
pmicro5 CreatePickup(19832,3,2073.9500,780.4065,15.754192);
    
pmicro5 CreatePickup(19832,3,1652.1846,1971.7617,10.820392);
    
pmicro5 CreatePickup(19832,3,1360.7035,2304.0210,10.820392);
    
pmicro5 CreatePickup(19832,3,2154.5066,1722.9658,11.046992);
    
pmicro5 CreatePickup(19832,3,2481.4004,1899.1495,9.488792);
    
pmicro5 CreatePickup(19832,3,1082.1650,-1603.2273,20.494692);
    
pmicro5 CreatePickup(19832,3,1070.3655,-1050.9801,31.528792);
    
pmicro5 CreatePickup(19832,3,740.6295,-1352.9872,13.500092);
    
pmicro5 CreatePickup(19832,3,1045.8783,-1666.6044,13.546992);
    
pmicro5 CreatePickup(19832,3,2177.6802,-1813.6974,13.546992);
    
pmicro5 CreatePickup(19832,3,2805.5505,-1917.2231,13.546992);
    
pmicro5 CreatePickup(19832,3,2064.8157,-988.6367,47.956492);
    
pmicro5 CreatePickup(19832,3,2418.4692,1927.9358,6.015692);
    
pmp5 CreatePickup(19832,3,96.4659,2709.6443,52.640992);
    
pmp5 CreatePickup(19832,3,2629.5789,-1102.4751,68.985592);
    
pmp5 CreatePickup(19832,3,2481.7361,-1310.5049,34.852892);
    
pmp5 CreatePickup(19832,3,1284.4904,-1535.1010,13.509892);
    
pmp5 CreatePickup(19832,3,1913.3712,2764.4504,10.812592);
    
pmp5 CreatePickup(19832,3,2386.9692,2498.5093,10.820392);
    
pmp5 CreatePickup(19832,3,2260.5559,1972.7252,15.346492);
    
pmp5 CreatePickup(19832,3,2005.7576,1439.4194,10.813092);
    
pmp5 CreatePickup(19832,3,1892.9825,639.2267,13.468192);
    
pmp5 CreatePickup(19832,3,1623.3248,1893.0980,10.820392);
    
pmp5 CreatePickup(19832,3,1336.5477,2220.0254,23.478292);
    
pmp5 CreatePickup(19832,3,2320.6951,1736.6791,10.820392);
    
pmp5 CreatePickup(19832,3,2290.4294,2044.0370,11.062592);
    
pmp5 CreatePickup(19832,3,1141.4310,-1643.5483,13.945492);
    
pmp5 CreatePickup(19832,3,1425.6509,-1394.6100,13.561492);
    
pmp5 CreatePickup(19832,3,1071.0099,-1099.6178,24.898792);
    
pmp5 CreatePickup(19832,3,820.3294,-1349.0328,13.525592);
    
pmp5 CreatePickup(19832,3,2088.4309,-1142.4127,25.567992);
    
pmp5 CreatePickup(19832,3,2423.4038,-1981.1869,13.546992);
    
pmp5 CreatePickup(19832,3,2826.9429,-1168.6855,25.101092);
    
pmp5 CreatePickup(19832,3,2138.4587,-1419.2622,25.723192);
    
pak47 CreatePickup(19832,3,-19.7812,2398.8601,18.064892);
    
pak47 CreatePickup(19832,3,1366.3430,-1589.1563,8.622392);
    
pak47 CreatePickup(19832,3,2329.6794,2733.6472,10.820392);
    
pak47 CreatePickup(19832,3,1859.4725,1058.9943,10.820392);
    
pak47 CreatePickup(19832,3,1048.9716,-1418.3555,13.546992);
    
pak47 CreatePickup(19832,3,1025.6873,-982.1412,42.681792);
    
pak47 CreatePickup(19832,3,2292.2593,-1399.2548,23.879992);
    
pak47 CreatePickup(19832,3,2813.5811,-1096.4434,30.726492);
    
pak47 CreatePickup(19832,3,834.1905,-1600.0498,13.546992);
    
pak47 CreatePickup(19832,3,2541.7266,1842.1577,10.820392);
    
pak47 CreatePickup(19832,3,1670.9438,1637.1383,10.820392);
    
pak47 CreatePickup(19832,3,2347.7310,-1172.3674,35.546992);
    
pak47 CreatePickup(19832,3,2552.9404,-956.1776,85.064892);
    
pak47 CreatePickup(19832,3,2560.9333,2007.8569,10.815192);
    
pak47 CreatePickup(19832,3,1586.3197,2053.7500,10.709292);
    
pak47 CreatePickup(19832,3,2309.1089,1635.4601,10.820392);
    
pak47 CreatePickup(19832,3,2141.8271,2789.6479,10.820392);
    
pak47 CreatePickup(19832,3,2319.8438,1971.4531,12.796992);
    
pak47 CreatePickup(19832,3,1877.0985,1784.9812,12.743792);
    
pak47 CreatePickup(19832,3,1049.9592,-1616.5967,20.450792);
    
pak47 CreatePickup(19832,3,1138.7126,-1079.4780,29.346892);
    
    
prifle CreatePickup(19832,3,2707.3684,-1233.8040,63.644392);
    
prifle CreatePickup(19832,3,1254.1381,-1438.6489,18.516992);
    
prifle CreatePickup(19832,3,2519.3679,2388.4172,10.820392);
    
prifle CreatePickup(19832,3,1849.8293,735.0554,11.460992);
    
prifle CreatePickup(19832,3,1405.5142,2183.5164,12.745592);
    
prifle CreatePickup(19832,3,2365.5649,1991.9812,10.828192);
    
prifle CreatePickup(19832,3,1480.0531,-1419.4745,11.882892);
    
prifle CreatePickup(19832,3,891.2356,-1637.6758,14.940692);
    
prifle CreatePickup(19832,3,2311.4229,-1652.8973,14.390992);
    
prifle CreatePickup(19832,3,2762.9114,-2016.2523,13.562092);
    
prifle CreatePickup(19832,3,1755.4930,-1716.6395,13.544692);
    
prifle CreatePickup(19832,3,1308.3066,-1157.8319,23.828192);
    
prifle CreatePickup(19832,3,2494.2666,1884.2837,13.800392);
    
prifle CreatePickup(19832,3,1019.5071,-1290.7572,17.382892);
    
prifle CreatePickup(19832,3,2009.7257,-1415.3008,16.992292);
    
prifle CreatePickup(19832,3,1732.6515,2110.8342,12.289592);
    
prifle CreatePickup(19832,3,2079.0752,722.8148,11.081992);
    
prifle CreatePickup(19832,3,2294.9009,2774.0767,10.820392);
    
prifle CreatePickup(19832,3,1722.8359,1527.6837,13.429092);
    
prifle CreatePickup(19832,3,2610.0591,-1083.9087,69.594692);
    
prifle CreatePickup(19832,3,1439.5454,1789.3643,10.820392);
    
ptec9 CreatePickup(19832,3,899.0519,-897.1851,45.765692);
    
ptec9 CreatePickup(19832,3,2667.1663,-1239.5195,62.328292);
    
ptec9 CreatePickup(19832,3,2519.2808,-1455.4395,28.531392);
    
ptec9 CreatePickup(19832,3,2309.6821,-1417.0571,24.992292);
    
ptec9 CreatePickup(19832,3,2395.8313,2398.6294,10.820392);
    
ptec9 CreatePickup(19832,3,2301.8298,1269.4684,67.468892);
    
ptec9 CreatePickup(19832,3,1840.1417,1279.4995,12.043992);
    
ptec9 CreatePickup(19832,3,1633.1863,2220.6377,10.820392);
    
ptec9 CreatePickup(19832,3,951.4852,-1268.0745,15.552592);
    
ptec9 CreatePickup(19832,3,1043.1897,-1056.8741,31.703192);
    
ptec9 CreatePickup(19832,3,797.6461,-1578.3937,13.546992);
    
ptec9 CreatePickup(19832,3,2351.3240,-1372.8175,24.398492);
    
ptec9 CreatePickup(19832,3,2733.0625,-1937.3195,13.546992);
    
ptec9 CreatePickup(19832,3,2853.8479,-1529.3317,11.093892);
    
ptec9 CreatePickup(19832,3,1173.2551,-1314.6033,13.983492);
    
ptec9 CreatePickup(19832,3,1920.2841,1763.4225,12.714492);
    
ptec9 CreatePickup(19832,3,1668.3488,1809.9127,10.820392);
    
ptec9 CreatePickup(19832,3,1906.1748,1527.2765,13.746292);
    
ptec9 CreatePickup(19832,3,2477.8730,-1298.7891,34.832092);
    
ptec9 CreatePickup(19832,3,2632.8181,2077.7749,10.740892);
    
ptec9 CreatePickup(19832,3,068.1831,645.4709,15.834492);
    
    
pchest CreatePickup(19832,3,2466.6741,-960.1535,83.833492);
    
pchest CreatePickup(19832,3,2748.5420,-1221.9691,64.601692);
    
pchest CreatePickup(19832,3,2546.2078,-1412.7036,34.654592);
    
pchest CreatePickup(19832,3,1716.0204,1618.3595,13.531392);
    
pchest CreatePickup(19832,3,2471.8030,2546.7844,10.820392);
    
pchest CreatePickup(19832,3,2045.6288,1800.1932,11.026192);
    
pchest CreatePickup(19832,3,1993.2528,975.8766,10.820392);
    
pchest CreatePickup(19832,3,2117.5530,1745.2953,10.820392);
    
pchest CreatePickup(19832,3,1331.6663,-1099.7533,24.800592);
    
pchest CreatePickup(19832,3,777.3901,-1510.2977,13.554792);
    
pchest CreatePickup(19832,3,2674.3262,-1993.6753,13.554792);
    
pchest CreatePickup(19832,3,2187.2935,-1369.4351,25.595592);
    
pchest CreatePickup(19832,3,1160.8196,-1428.6235,22.778692);
    
pchest CreatePickup(19832,3,1111.8854,-1184.2937,18.328592);
    
pchest CreatePickup(19832,3,2266.1382,1526.6558,10.820392);
    
pchest CreatePickup(19832,3,1410.5135,2107.1040,12.015692);
    
pchest CreatePickup(19832,3,2406.3943,1310.3234,7.164192);
    
pchest CreatePickup(19832,3,2172.3557,2816.3252,15.851692);
    
pchest CreatePickup(19832,3,2621.2339,-1242.7642,50.064592);
    
pchest CreatePickup(19832,3,1309.1824,-1469.3174,10.046992);
    
pchest CreatePickup(19832,3,2474.7153,2011.8583,16.093892);
    
    
pchest1 CreatePickup(19832,3,2583.8389,-1039.0610,69.578192);
    
pchest1 CreatePickup(19832,3,2528.3640,-1226.1548,43.656392);
    
pchest1 CreatePickup(19832,3,1215.9424,-1421.9860,13.325292);
    
pchest1 CreatePickup(19832,3,1633.1748,1629.6528,14.822292);
    
pchest1 CreatePickup(19832,3,1859.8052,1001.0821,10.820392);
    
pchest1 CreatePickup(19832,3,1670.5681,2091.8342,11.460992);
    
pchest1 CreatePickup(19832,3,1023.2243,-980.6584,42.617992);
    
pchest1 CreatePickup(19832,3,1165.5695,-1642.8525,14.000092);
    
pchest1 CreatePickup(19832,3,1971.1312,-1789.1094,13.546992);
    
pchest1 CreatePickup(19832,3,2459.8770,-1939.6490,13.539192);
    
pchest1 CreatePickup(19832,3,2802.1018,-1967.5707,13.546992);
    
pchest1 CreatePickup(19832,3,1634.3561,1613.7220,10.820392);
    
pchest1 CreatePickup(19832,3,2504.4138,1210.0386,10.820392);
    
pchest1 CreatePickup(19832,3,1089.9473,-1632.1709,13.618492);
    
pchest1 CreatePickup(19832,3,1811.2114,-1344.4124,15.058092);
    
pchest1 CreatePickup(19832,3,1124.8845,-1324.9270,13.589392);
    
    
psawnoff CreatePickup(19832,3,2437.7585,-1051.5731,54.327792);
    
psawnoff CreatePickup(19832,3,1918.9885,2728.5920,10.827392);
    
psawnoff CreatePickup(19832,3,2542.4692,2211.1465,14.116192);
    
psawnoff CreatePickup(19832,3,1682.6924,1787.3088,10.820392);
    
psawnoff CreatePickup(19832,3,2297.2749,1552.8810,10.812592);
    
psawnoff CreatePickup(19832,3,1111.3899,-975.4249,42.765692);
    
psawnoff CreatePickup(19832,3,2146.9016,-1434.2233,25.539192);
    
psawnoff CreatePickup(19832,3,2746.9753,-2072.5518,12.748692);
    
psawnoff CreatePickup(19832,3,1140.0435,-1581.1006,13.445392);
    
psawnoff CreatePickup(19832,3,1400.1619,2076.0322,10.839692);
    
psawnoff CreatePickup(19832,3,2142.9690,1409.0662,10.820392);
    
psawnoff CreatePickup(19832,3,2278.3003,2805.4805,22.929792);
    
psawnoff CreatePickup(19832,3,2519.2173,-1480.2163,23.999892);
    
psawnoff CreatePickup(19832,3,804.8708,-1062.3108,24.867292);
    
psawnoff CreatePickup(19832,3,2307.6794,-2000.8734,13.551392);
    
psawnoff CreatePickup(19832,3,1753.2562,1847.2932,10.820392);
    
    
phpm CreatePickup(19832,3,2667.1401,-1201.3676,71.722292);
    
phpm CreatePickup(19832,3,2350.0620,-1505.1631,23.992292);
    
phpm CreatePickup(19832,3,2508.9204,2265.1382,15.433292);
    
phpm CreatePickup(19832,3,2452.7373,1326.3278,10.820392);
    
phpm CreatePickup(19832,3,1422.1389,2334.2329,10.820392);
    
phpm CreatePickup(19832,3,997.8416,-1245.6483,19.406792);
    
phpm CreatePickup(19832,3,999.4371,-906.2466,42.191392);
    
phpm CreatePickup(19832,3,928.6794,-1560.6261,13.550792);
    
phpm CreatePickup(19832,3,2620.5251,-1452.9801,32.347492);
    
phpm CreatePickup(19832,3,1969.6727,649.8389,10.820392);
    
phpm CreatePickup(19832,3,2379.8733,1951.4967,11.649992);
    
phpm CreatePickup(19832,3,2168.6082,1968.1829,10.820392);
    
phpm CreatePickup(19832,3,1189.2609,-1018.4869,36.234492);
    
phpm CreatePickup(19832,3,2034.1279,2719.4348,15.488792);
    
phpm CreatePickup(19832,3,1581.6572,1805.2950,10.820392);
    
phpm CreatePickup(19832,3,1742.0543,1596.2194,9.795792);
    return 
1;

Reply
#9

Quote:
Originally Posted by RJTabish
Посмотреть сообщение
Here Everything is Here Now Tell Me Whats The Problem WHen I pickup something then nothing happenings
Код:
pgrenade = CreatePickup(19832,3,-6.7468,2353.9668,24.1406, 92); 
    pgrenade = CreatePickup(19832,3,158.2474,2773.1978,72.0541, 92); 
    pgrenade = CreatePickup(19832,3,2501.4106,-1062.4116,70.1647, 92); 
    pgrenade = CreatePickup(19832,3,2537.1404,-1440.6437,24.0000, 92); 
    pgrenade = CreatePickup(19832,3,2326.5063,-1194.4266,27.9766, 92); 
    pgrenade = CreatePickup(19832,3,2009.6896,2750.1912,10.8203, 92); 
    pgrenade = CreatePickup(19832,3,2552.6816,2245.7549,10.8203, 92); 
    pgrenade = CreatePickup(19832,3,1795.4884,1716.9352,6.7211, 92); 
    pgrenade = CreatePickup(19832,3,1839.1543,669.1522,15.7891, 92); 
    pgrenade = CreatePickup(19832,3,1602.6566,1969.6896,13.8722, 92); 
    pgrenade = CreatePickup(19832,3,1754.1204,2148.3584,10.8580, 92); 
    pgrenade = CreatePickup(19832,3,2313.3882,1790.3312,10.8203, 92); 
    pgrenade = CreatePickup(19832,3,-2413.3308,-614.9204,132.6257, 92); 
    pgrenade = CreatePickup(19832,3,1140.2347,-1564.0391,13.5471, 92); 
    pgrenade = CreatePickup(19832,3,1227.6318,-1017.2735,36.3359, 92); 
    pgrenade = CreatePickup(19832,3,842.8817,-1008.8325,28.4663, 92); 
    pgrenade = CreatePickup(19832,3,1350.7684,-1759.2393,13.5078, 92); 
    pgrenade = CreatePickup(19832,3,2487.0779,-1687.5911,13.5109, 92); 
    pgrenade = CreatePickup(19832,3,2866.7129,-2038.3315,11.1007, 92); 
    pgrenade = CreatePickup(19832,3,2157.9565,-1746.3773,13.5469, 92); 
    pgrenade = CreatePickup(19832,3,2130.0908,-1364.8331,25.5463, 92);
That's your problems.You already create a pickup by variable.So you can't use same variable to create next one.Else when you pick up it.Only the last one'll be delect.
Use it:
Код:
new pgrenade[3]; //"3" is how many "grenades" you wanna create.Here's just three.You can add more.



//.............some callback
pgrenade[0] = CreatePickup(19832,3,-6.7468,2353.9668,24.1406, 92);
pgrenade[1] = CreatePickup(19832,3,158.2474,2773.1978,72.0541, 92);
pgrenade[2] = CreatePickup(19832,3,2501.4106,-1062.4116,70.1647, 92);



//And this way to delect you pick up "pgrenade"


//.............some callback
if(pickupid == pgrenade[0])
{
//do something you like
}
if(pickupid == pgrenade[1])
{

}
if(pickupid == pgrenade[2])
{

}
//.............more
This code just for newbies.
If you understant how to use loop and enum,don't use that code.
Sorry my bad English
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)