20.09.2014, 10:12
public OnPlayerEnterCheckpoint(playerid)
{
switch(getCheckpointType(playerid))
{
case CP_V1: {
for(new i;i<MAX_PLAYERS;i++)
if( GetPlayerTeam(playerid) == v1 )
{
new Float
, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid,369.3559,-194.6116,1044.2200);
}
}
}
return 1;
}
Mode, which creates hit the wall
I want to teleport to another player, not in his own radius
What's the problem
Is there a function that can teleport to another player designated place ![Huh?](images/smilies/confused.gif)
Teleport other specific person
{
switch(getCheckpointType(playerid))
{
case CP_V1: {
for(new i;i<MAX_PLAYERS;i++)
if( GetPlayerTeam(playerid) == v1 )
{
new Float
![angry](images/smilies/mad.gif)
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid,369.3559,-194.6116,1044.2200);
}
}
}
return 1;
}
Mode, which creates hit the wall
I want to teleport to another player, not in his own radius
What's the problem
![Huh?](images/smilies/confused.gif)
![Huh?](images/smilies/confused.gif)
Teleport other specific person
![Huh?](images/smilies/confused.gif)