[new prob]OnPlyerPickup spam and Get rid of the blue business houses
#1

1. OnPlayerPickup spams:
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	if(pickupid==Bodyguard1)
	{
              SendClientMessage(playerid,COLOR_LIGHTBLUE,"Type in /getjob to become a bodyguard");
              return 1;
	}
	return 1;
}
It spams the client message!



2. Blue business houses appear.

How to get rid of them??



Pancake


//edit: i asked about the blue houses again, cauz this is a new topic!
Reply
#2

What pickup type did you choose?
https://sampwiki.blast.hk/wiki/PickupTypes

Choose the one that you want, that will get destroyed until death or something.
Reply
#3

But whats up, if he leaves the pickup for a moment? It gets destroyed and the player has to kill himself or wait for a few minutes to get the job!

is this the only way?? or is sth in the script wrong?? maybe sum returns? i am really new to pawn!

//edit: will the pickup get destroyed for everyone, or just the player who colides with it?

And ppls try to answer the second question, too.
Reply
#4

i think the return under sendclientmessage doesnt belong there.
However i am having alot of pickup issues myself now these days
Reply
#5

Show me the CreatePickup under OnGameModeInit
Reply
#6

Код:
Bodyguard1 = CreatePickup(1239, 1,1367.1448,-1290.2589,13.5469, 0);
above this i made the variable

Код:
new Bodyguard1;
hope it helps!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)