Need help for automatic message!
#1

Hello!


Anybody knows a command like this; When you enter some pesific position (range in it) pops up automatic message what says: *example* "You entered 4Dragon casino"


Regards,
Assyria
Reply
#2

I think you can do this with a checkpoint. im not sure though.
Reply
#3

Код:
public OnPlayerEnterCheckPoint(playerid)
{
  
	SetPlayerCheckpoint(playerid, 501.981, -69.150, 998.757,0);
	if (IsPlayerInCheckpoint(playerid))
	{
	SendClientMessage(playerid,0xAA0000AA,"Dippadai");
	}
	return 1;
Something like that? Or does somebody comeup with something working
Reply
#4

I need help for this!

Код:
public "? ? ? WhatComesHere ? ? ?"
{
	if (IsPlayerInRangeOfPoint(playerid, 15.0, 498.9, -76.0, 998.8))
	{
	SendClientMessage(playerid,0xAA0000AA,"You are in cool position!");
	}
	return 1;
}
That needs to happen AUTOMATIC without any "/command" ( Meaning = NO OnPlayerCommandText)


Please if you know it, post it!
Reply
#5

try this

code
Код:
	 		else if (GetPlayerState(i) == 1 && PlayerToPoint(3.0, i, {coords here} ))
			{
				GameTextForPlayer(i, "~w~{text here} ~r~{text here}~y~~n~{text here}!", 5000, 5);
			}
and when they leave that postition they wont see anymore tell me if helps
Reply
#6

Quote:
Originally Posted by YoungMoolaBaby.2010
try this

code
Код:
	 		else if (GetPlayerState(i) == 1 && PlayerToPoint(3.0, i, {coords here} ))
			{
				GameTextForPlayer(i, "~w~{text here} ~r~{text here}~y~~n~{text here}!", 5000, 5);
			}

Seems good but what I put BEFORE/ABOVE that?
Reply
#7

Код:
public CustomPickups()
{
	for(new i = 0; i < MAX_PLAYERS; i++)
	{
Reply
#8

put it under that
Reply
#9

Not working.. get super errors
Reply
#10

send me the whole thing i gave u all of it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)