[Include] Teleports.inc - Easily create teleports with 1 line!
#3

Quote:
Originally Posted by sammp
Посмотреть сообщение
Or, instead of an include

pawn Код:
SetPlayerPos(playerid, X, Y, Z);
SetPlayerFacingAngle(playerid, A);

I find this completely useless and just a rename of the SetPlayer functions and just wasting memory
That's 2 lines

Nah but I created this to make it easier for newbs, besides I dont see any "OnPlayerPositionChange" callback linked to SetPlayerPos

Also, with 1 teleport command yea that'd be easier, but what if you'd have 50 or 100 teleport commands? Or enter/exits for interiors and whatnot. I'd rather use this than copy-paste the SetPlayer functions you've posted. Especially with the OnPlayerTeleport callback.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)