[Ajuda] /espiar e /poff
#8

Quote:
Originally Posted by ViniBorn
Посмотреть сообщение
Quando ele digita /espiar

PHP код:
GetPlayerPos(playerid, PlayerInfo[playerid][iPosx], PlayerInfo[playerid][iPosy], PlayerInfo[playerid][iPosz]);
PlayerInfo[playerid][pInterior] = GetPlayerInterior(playerid);
PlayerInfo[playerid][pVirtualWorld] = GetPlayerVirtualWorld(playerid);
TogglePlayerSpectating(playerid, 1); 
Quando ele digita /poff

PHP код:
TogglePlayerSpectating(playerid, 0); 
SetPlayerInterior(playerid, PlayerInfo[playerid][pInterior]);
SetPlayerVirtualWorld(playerid, PlayerInfo[playerid][pVirtualWorld]);
SetPlayerPos(playerid, PlayerInfo[playerid][iPosx], PlayerInfo[playerid][iPosy], PlayerInfo[playerid][iPosz]); 
Nгo me lembro sobre a questгo do delay que o ForT falou, mas caso ocorra, vocк consegue resolver usando SpawnPlayer e OnPlayerSpawn
Eu fiz isso, porйm pega as coodernadas de quem estб espiando, ou seja pega depois de digitar /espiar e nгo antes.
Reply


Messages In This Thread
/espiar e /poff - by Maxwilson01 - 07.04.2017, 02:05
Re: /espiar e /poff - by ViniBorn - 07.04.2017, 02:45
Re: /espiar e /poff - by Maxwilson01 - 07.04.2017, 02:57
Re: /espiar e /poff - by ForT - 07.04.2017, 03:03
Re: /espiar e /poff - by Maxwilson01 - 07.04.2017, 03:40
Re: /espiar e /poff - by ForT - 07.04.2017, 03:42
Re: /espiar e /poff - by ViniBorn - 07.04.2017, 03:46
Re: /espiar e /poff - by Maxwilson01 - 07.04.2017, 03:52
Re: /espiar e /poff - by ViniBorn - 07.04.2017, 03:56
Re: /espiar e /poff - by Maxwilson01 - 07.04.2017, 04:04

Forum Jump:


Users browsing this thread: 1 Guest(s)