Pickup error
#1

Код:
new nlive;
Код:
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891);
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == nlive)
        {
        GameTextForPlayer(playerid,"~w~ /lg ~y~ to participate", 3000, 0);
        }
    return 1;
}
This pickup doesn't appear, can someone tell me why?
Reply
#2

Spot the difference!
pawn Код:
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891, 0); // fixed
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891); // your
https://sampwiki.blast.hk/wiki/CreatePickup

Be sure you put the coordiantes good tho. You did not put the VW
Reply
#3

It still doesn't appear.
Reply
#4

Quote:
Originally Posted by Berlovan
Посмотреть сообщение
Spot the difference!
pawn Код:
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891, 0); // fixed
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891); // your
https://sampwiki.blast.hk/wiki/CreatePickup

Be sure you put the coordiantes good tho. You did not put the VW
Quote:
Originally Posted by Rabbayazza
Посмотреть сообщение
It still doesn't appear.
pawn Код:
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891, 0); // berlovan
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891); // your
nlive = CreatePickup(1239, 23, 365.5620,174.0066,1025.7891, -1); // mine
But it still should work with berlovan's one :/
Reply
#5

Are you sure the coordinates are good ? Go in-game and do /save adn get the coordinates!
Reply
#6

Still doesn't appear, can it have anything to do with it being in an interior?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)