Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Is it possible to send a SendClientMessage upon pickup,
I tried using [u]OnPlayerPickUpPickup[/b] but that spams the message,
How would i do it without spamming
Posts: 121
Threads: 29
Joined: Feb 2008
Reputation:
0
Can you change the pickup type to one that disapears when you run over it?
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Hmm, that is one way but if there are other ways id prefer to do it that way
Posts: 121
Threads: 29
Joined: Feb 2008
Reputation:
0
You could always set a msg variable to 1 whenever they hit the message.
Posts: 202
Threads: 0
Joined: May 2007
Reputation:
0
Yeah was just about to say the same thing.
Posts: 121
Threads: 29
Joined: Feb 2008
Reputation:
0
When they walk over the pickup it checks PickupMessage[playerid]. If its 0 it will send the message and change it to 1.
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Yeah but if they walk out of the pickup and back in it sends the message again,
Its a house thing for my RP,
When they walk over it, it displays a message, If they walk out and back in, It will send tht message agen
Posts: 121
Threads: 29
Joined: Feb 2008
Reputation:
0
That's will not be very efficient to have a variable for each player for each house with a timer for the message to appear again. My advice is to make a textdraw that appears for 4-5 seconds. Then if they exit and go back in it will stay.