Pickup Problem -.-
#10

pawn Код:
new vulkan;
new vinewood;
new sfwarehouse;
This on top

pawn Код:
else if(pickupid == vulkan)
    {
    GivePlayerMoney(playerid, 50000);
    SetPlayerScore(playerid, GetPlayerScore(playerid)+50);
    SendClientMessage(playerid, red, "You have recieved 50000$ and 50 score for finding one of our secrets!");
    SendClientMessageToAll(red, "HINT: The Volcano Pickup has been found, the next one can be found in Vinewood!");
    vinewood = CreatePickup(1276,2,1378.1597,-807.1733,85.0415,-1);
    DestroyPickup(vulkan);

    }
    else if(pickupid == vinewood)
    {
    GivePlayerMoney(playerid, 75000);
    SetPlayerScore(playerid, GetPlayerScore(playerid)+75);
    SendClientMessage(playerid, red, "You have recieved 75000$ and 75 score for finding one of our secrets!");
    SendClientMessageToAll(red, "HINT: The Vinewood Pickup has been found, the next one can be found in a warehouse in San Fierro!");
    DestroyPickup(vinewood);
    sfwarehouse = CreatePickup(1276,2,-2140.5464,-262.7972,41.5522,-1);


    }
    else if(pickupid == sfwarehouse)
    {
    GivePlayerMoney(playerid, 100000);
    SetPlayerScore(playerid, GetPlayerScore(playerid)+100);
    SendClientMessage(playerid, red, "You have recieved 100000$ and 100 score for finding one of our secrets!");
    SendClientMessageToAll(red, "HINT: The San Fierro Warehouse Pickup has been found, the next one can be found somewhere in the navy base!");
    DestroyPickup(sfwarehouse);
    }
    return 1;
}
And this under OnPlayerPickUpPickup
Reply


Messages In This Thread
Pickup Problem -.- - by bamby - 16.01.2011, 13:57
Re: Pickup Problem -.- - by Toreno - 16.01.2011, 14:02
Re: Pickup Problem -.- - by admantis - 16.01.2011, 14:04
Re: Pickup Problem -.- - by bamby - 16.01.2011, 14:12
Re: Pickup Problem -.- - by Toreno - 16.01.2011, 14:14
Re: Pickup Problem -.- - by bamby - 16.01.2011, 14:22
Re: Pickup Problem -.- - by Toreno - 16.01.2011, 14:30
Re: Pickup Problem -.- - by bamby - 16.01.2011, 14:38
Re: Pickup Problem -.- - by Toreno - 16.01.2011, 14:43
Re: Pickup Problem -.- - by bamby - 16.01.2011, 14:46

Forum Jump:


Users browsing this thread: 1 Guest(s)