Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
After player Died restart Map HeLpiE Help
vanjavk Offline
Member

Posts: 54
Threads: 5
Joined: Sep 2010
Reputation: 0
#3
RE: After player Died restart Map HeLpiE Help

(04-18-2011, 05:54 PM)nkmol Wrote: i think when you use ,
void ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);
it will restart the current map whith all the scripts, not 100% sure.

u could use like :

if (GetPlayerHealth == 0)
    {
        ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound);
    }

try to experiment whith this Wink
Thanks for resposnse but i got error on line 32 1 (line when If starts) errror with If like it can't start with if?
(i never worked with IF before Big Grin)

vanjavk
04-18-2011, 09:24 PM
Find


Messages In This Thread
RE: After player Died restart Map HeLpiE Help - by vanjavk - 04-18-2011, 09:24 PM



Users browsing this thread: 1 Guest(s)