RESPAWN=0;
if(RESPAWN==1)
{
CreateActor("Player", "PlayerStandRight", "(none)", "(none)", 240, 160, false);\\ Change the "240" and "160" depending on where you want him to spawn
RESPAWN=0;
MoveTo("view", 0.000000, 0.000000, 500.000000, "Game Center", "");
if(RESPAWN==1)
{
CreateActor("Player", "PlayerStandRight", "(none)", "(none)", 240, 160, false);// Change the "240" and "160" depending on where you want him to spawn
RESPAWN=0;
MoveTo("view", 0.000000, 0.000000, 500.000000, "Game Center", "");
}
if(RESPAWN==1)
{
CreateActor("Player", "PlayerStandRight", "(none)", "(none)", 240, 160, true);
RESPAWN=0;
view.x=0;
view.y=0;
}
RESPAWN=1;
Users browsing this forum: No registered users and 1 guest