Drag Command
#10

You can call a timer in the drag command for something like this:

forward DragPlayer(playerid, giveplayerid);
public DragPlayer(playerid, giveplayerid)
{
if(giveplayerid == INVALID_PLAYER_ID) return 0;
if(Dragging[playerid] != INVALID_PLAYER_ID)
{
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(giveplayerid, x, y, z);
(Call the timer again if you want)
}
return 1;
}
Reply


Messages In This Thread
Drag Command - by Kindred - 31.08.2011, 20:27
Re: Drag Command - by Jafet_Macario - 31.08.2011, 20:54
Re: Drag Command - by Kindred - 01.09.2011, 06:05
Re: Drag Command - by =WoR=Varth - 01.09.2011, 06:09
Re: Drag Command - by Kindred - 01.09.2011, 06:17
Re: Drag Command - by =WoR=Varth - 01.09.2011, 06:19
Re: Drag Command - by Kindred - 01.09.2011, 06:36
Re: Drag Command - by gunjand1 - 04.09.2013, 04:15
Re: Drag Command - by Crissand - 02.04.2014, 18:57
Re: Drag Command - by Abagail - 02.04.2014, 19:48

Forum Jump:


Users browsing this thread: 3 Guest(s)