on player pickup : help
#1

Guys I m having a problem...
I made a pick but its not working fully

The 3d text appears.
Dynamicpickup object also appears but
The game text that should be appear on player pickup is not working

Code :

Www.Pastebin.com/nL155ZbQ


Pls help
Reply
#2

PHP код:
public OnPlayerPickUpDynamicPickup(playeridpickupid){

    if(
pickupid == pickup[7]){
        
GameTextForPlayer(playerid"~w~bla bla bla"50005);
    }

    return 
1;

Reply
#3

https://sampwiki.blast.hk/wiki/PickupTypes
Your pickup type is 0:
0
The pickup does not always display. If displayed, it can't be picked up and does not trigger OnPlayerPickUpPickup and it will stay after server shutdown.

Change it's type to 1 and destroy it when picked up
Reply
#4

Thanx. pro.gamer
And also abyss morgan

But the problem was that is told by the pro.gamer.
Thnx for solution m8
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)