[Tutorial] How to fix onplayerclickmap function
#3

Quote:
Originally Posted by Kevln
Посмотреть сообщение
SetPlayerPosFindZ isn't even a valid function.

You can make this in a way better way.
Its is valid sir. (from a_players.inc)
Quote:

native SetPlayerPos(playerid, Float:x, Float:y, Float:z);
native SetPlayerPosFindZ(playerid, Float:x, Float:y, Float:z);
native GetPlayerPos(playerid, &Float:x, &Float:y, &Float:z);

OT: Just use SetPlayerPosFindZ under the callback, instead of making it complex like your code.
Reply


Messages In This Thread
How to fix onplayerclickmap function - by leo9 - 13.11.2015, 16:49
Re: How to fix onplayerclickmap function - by Kevln - 13.11.2015, 22:56
Re: How to fix onplayerclickmap function - by Gammix - 14.11.2015, 02:59
Re: How to fix onplayerclickmap function - by Kar - 14.11.2015, 03:03
Re: How to fix onplayerclickmap function - by kristo - 14.11.2015, 10:02
Re: How to fix onplayerclickmap function - by Gammix - 14.11.2015, 11:47
Re: How to fix onplayerclickmap function - by leo9 - 14.11.2015, 14:13

Forum Jump:


Users browsing this thread: 1 Guest(s)