House: Type /enter to enter
#1

That appears at ammunition. I searched everywhere for that what displays it at the script, nothing. I searched at scriptfiles, nothing also. That's literally what appears

"* House: Type /enter to enter
* Business: Type /enter to enter"

I want only that business one to appear
Reply
#2

Somewhere in your script, there is:
Create3DTextLabel("* House: Type /enter to enter\n* Business: Type /enter to enter",color,x,y,z,...);
remove the * House: Type /enter to enter\n
Reply
#3

It could be the gl_property filterscript.
Reply
#4

Quote:
Originally Posted by Jack_Leslie
Посмотреть сообщение
It could be the gl_property filterscript.
Thanks a lot genius

Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
	//printf( "DEBUG: Player %d pickedup Pickup %d Prop Id %d", playerid, pickupid );
	lastPickup[playerid] = pickupid;
	new id = propPickups[pickupid];
	new pmsg[256];

	if( properties[id][eType] > 0 ){
	
	    if(gLastPropertyEnterNotification[playerid] != id){
	        gLastPropertyEnterNotification[playerid] = id;
          	switch( properties[id][eType] ){
		    	case TYPE_HOUSE:{
		        	format(pmsg,256,"* House: type /enter to enter");
		        	SendClientMessage( playerid, 0xFF55BBFF, pmsg );
		        	return 1;
				}

				case TYPE_BUSINESS:{
			   		format(pmsg,256,"* Business: type /enter to enter");
		        	SendClientMessage( playerid, 0xFF55BBFF, pmsg );
		        	return 1;
				}

				case TYPE_BANK:{
					format(pmsg,256,"* Bank: type /enter to enter");
		        	SendClientMessage( playerid, 0xFF55BBFF, pmsg );
		        	return 1;
				}

				case TYPE_COP:{
					format(pmsg,256,"* Police Station: type /enter to enter");
		        	SendClientMessage( playerid, 0xFF55BBFF, pmsg );
		        	return 1;
				}
		 	}
		}
	}
	else SendClientMessage( playerid, 0xFF9900FF, "This property doesn't exist :S" );

	return 1;
}
It appears both :/

So, what's wrong?
Reply
#5

comment this
Quote:

case TYPE_HOUSE:{
format(pmsg,256,"* House: type /enter to enter");
SendClientMessage( playerid, 0xFF55BBFF, pmsg );
return 1;
}

Reply
#6

But that will turn off the message for ALL houses :/
Reply
#7

Anyone?
Reply
#8

Help me please guys
Reply
#9

Quote:
Originally Posted by TheNavigator
Посмотреть сообщение
But that will turn off the message for ALL houses :/
---^
Reply
#10

Quote:
Originally Posted by TheNavigator
Посмотреть сообщение
That appears at ammunition.

I want only that business one to appear
Quote:
Originally Posted by TheNavigator
Посмотреть сообщение
But that will turn off the message for ALL houses :/
Sounds like he still wants the functionality, but just for the one business.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)