Need help with teleporting
#8

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
WTF THomas this is wrong (Why under OnGameModeInit)

PHP код:
public OnPlayerUpdate(playerid)
{
    if(
IsPlayerInRangeOfPoint(playerid,YourRangeYour X Cord,Your Y CordYour Z Cord))
    {
    
SetPlayerPos(playeridCORDS);
    
SetPlayerInterior(playeridINTERIORID);
    
SetPlayerVirtualWorld(playerid,YourWorld); //Only if you want
    
}
    return 
1;

If you can read English, I said You can use it under OnGamemodeinit. If you Define the Parameters and Callbacks Properly you can use it under there. I use mine under there and it works fine
Reply


Messages In This Thread
Need help with teleporting important - by firemanjv - 16.09.2012, 09:51
Re: Need help with teleporting - by firemanjv - 16.09.2012, 10:38
AW: Need help with teleporting - by BiosMarcel - 16.09.2012, 10:54
Re: Need help with teleporting - by firemanjv - 16.09.2012, 10:58
Re: Need help with teleporting - by ThomasCarter - 16.09.2012, 10:58
AW: Need help with teleporting - by BiosMarcel - 16.09.2012, 11:02
Re: Need help with teleporting - by Kaperstone - 16.09.2012, 11:07
Re: AW: Need help with teleporting - by ThomasCarter - 16.09.2012, 11:38
Re: AW: Need help with teleporting - by firemanjv - 16.09.2012, 13:00
Re: AW: Need help with teleporting - by firemanjv - 16.09.2012, 13:31

Forum Jump:


Users browsing this thread: 2 Guest(s)