SA-MP Forums Archive
How Do i Freeze Player In Hes Pos? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How Do i Freeze Player In Hes Pos? (/showthread.php?tid=238012)



How Do i Freeze Player In Hes Pos? - [ProX]BlueFire - 10.03.2011

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


Re: How Do i Freeze Player In Hes Pos? - [ProX]BlueFire - 10.03.2011

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;
}



Re: How Do i Freeze Player In Hes Pos? - xRyder - 10.03.2011

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.


Re: How Do i Freeze Player In Hes Pos? - [ProX]BlueFire - 11.03.2011

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