GetWeaponPickupCreatePos
#7

pawn Код:
#include <a_samp>
#include <streamer>

CreateWeaponPickup(weaponid, Float:x, Float:y, Float:z)
{
    weaponid = GetWeaponPickupID(weaponid);
    CreateDynamicPickup(weaponid, 1, x, y, z, -1, -1, -1, STREAMER_PICKUP_SD);
    return 1;
}

GetWeaponPickupID(weaponid)
{
    switch(weaponid)
    {    
        case 1: return 331;
        case 2: return 333;
        case 3: return 334;
        case 4: return 335;
        case 5: return 336;
        case 6: return 337;
        case 7: return 338;
        case 8: return 339;
        case 9: return 341;
        case 10: return 321;
        case 11: return 322;
        case 12: return 323;
        case 13: return 324;
        case 14: return 325;
        case 15: return 326;
        case 16: return 342;
        case 17: return 343;
        case 18: return 344;
        case 22: return 346;
        case 23: return 347;
        case 24: return 348;
        case 25: return 349;
        case 26: return 350;
        case 27: return 351;
        case 28: return 352;
        case 29: return 353;
        case 30: return 355;
        case 31: return 356;
        case 32: return 372;
        case 33: return 357;
        case 34: return 358;
        case 35: return 359;
        case 36: return 360;
        case 37: return 361;
        case 38: return 362;
        case 39: return 363;
        case 40: return 364;
        case 41: return 365;
        case 42: return 366;
        case 43: return 367;
        case 44: return 368;
        case 45: return 369;
        case 46: return 371;
        default: return 1239;
    }
    return 1;
}
Reply


Messages In This Thread
GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 17:47
Re: GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 19:00
Re: GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 19:10
Re: GetWeaponPickupCreatePos - by Thundey - 11.02.2019, 19:18
Re: GetWeaponPickupCreatePos - by EmpireSk - 11.02.2019, 19:23
Re: GetWeaponPickupCreatePos - by EmpireSk - 12.02.2019, 12:18
Re: GetWeaponPickupCreatePos - by TheToretto - 12.02.2019, 17:46
Re: GetWeaponPickupCreatePos - by ComDuck - 13.02.2019, 10:22
Re: GetWeaponPickupCreatePos - by TheToretto - 13.02.2019, 11:46
Re: GetWeaponPickupCreatePos - by EmpireSk - 13.02.2019, 20:08
Re: GetWeaponPickupCreatePos - by EmpireSk - 15.02.2019, 23:25
Re: GetWeaponPickupCreatePos - by TheToretto - 16.02.2019, 13:21
Re: GetWeaponPickupCreatePos - by EmpireSk - 17.02.2019, 11:35
Re: GetWeaponPickupCreatePos - by J0sh... - 17.02.2019, 11:46
Re: GetWeaponPickupCreatePos - by Y_Less - 17.02.2019, 12:12
Re: GetWeaponPickupCreatePos - by TheToretto - 17.02.2019, 12:48

Forum Jump:


Users browsing this thread: 1 Guest(s)