Click map teleport.
#3

AllowAdminTeleport is deprecated so remove it, you should do this:

PHP код:
public OnPlayerClickMap(playeridFloat:fXFloat:fYFloat:fZ)
{
    if(
IsPlayerAdmin(playerid))
    {
        
SetPlayerPosFindZ(playeridfXfYfZ);
    }
    return 
1;

Quote:
Originally Posted by SA-MP Wiki
The Z value returned will be 0 (invalid) if it is far away from the player; use the MapAndreas plugin to get a more accurate Z coordinate.
Reply


Messages In This Thread
Click map teleport. - by GabiXx - 01.08.2015, 15:15
Re: Click map teleport. - by Inn0cent - 01.08.2015, 15:20
Respuesta: Click map teleport. - by RIDE2DAY - 01.08.2015, 15:55
Re: Click map teleport. - by GabiXx - 01.08.2015, 16:02

Forum Jump:


Users browsing this thread: 1 Guest(s)