How Do i Freeze Player In Hes Pos?
#1

How I Freeze Som1 But He Will Not Fall Or Move...


And
How Do i Create A GameText Witch Can Change Him Self+Will Stay...

i mean when u type /ls it will show down the screen "%s Has Typed /ls"
Then When Other Player Type /lv it will destroy the first and put the other
+
How i Find The Pos On The Screen?(cordinats)



Big Thx For Helpers =D
Reply
#2

lol sorry if i spam i just making my first GM


Here Another Question:

y It Doesnt Work?

Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	if (PRESSED(KEY_JUMP))
	{
		new
			Float:x,
			Float:y,
			Float:z;
		GetPlayerPos(playerid, x, y, z);
		SetPlayerPos(playerid, x, y, z + 20.0);
	}
	return 1;
}
Reply
#3

To freeze someone you can use TogglePlayerControllable() function. To find out more about that you can read here.

You can't actually create a GameText and make it stay for some long time on screen... But what you can make is a text draw and update it depending on who and when types a command ( eg. /ls , /lv ....)
You can use this this to make it nicer, and it's really simple to use.
Reply
#4

thx
and can u answer to the second plz?
thx =D
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)