afk problem
#1

I have a problem with an afk script I am creating.

Instead of just simply freezing the player where they typed /afk, mine teleports them somewhere else.

Although, when I type /afk, it only teleports the player to the SetPlayerPos area.

Here's the script:

http://pastebin.com/fhcHRCnR
Reply
#2

Use SetVehiclePos for vehicles.
Reply
#3

Line 37 and 38:
Код:
SetPlayerPos(playerid,1872.3262,-1683.7574,58.2235);
GetPlayerPos(playerid, Float:storex[playerid], Float:storey[playerid], Float:storez[playerid]);
Switch those two. Now you're just storing the coordinates of the 'afk area' instead of the current player's pos.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)