Posts: 75
Threads: 35
Joined: Mar 2009
Reputation:
0
hello together,
I have a question how do I create a so-called dm script, so that if a player dies he comes back immediately in the dm arena. and which one the arena can only with / EXIT
please help me ... =(
thanks in advance
Posts: 2,220
Threads: 154
Joined: Jul 2009
Reputation:
0
Since you didn't really say what you want I can only say to set a variable when he enters it and when he types /exit, server checks if variable is 1. If not, let nothing happen.
Posts: 33
Threads: 7
Joined: Dec 2008
Reputation:
0
You are too unclear but i am assuming that it would be something like if the player's coordinates are not equal to area coordinates then return SendClientMessage(playerid, color, "You are not in an interior");
Posts: 459
Threads: 101
Joined: Jul 2010
Reputation:
0
Have a area where they can leave and goto other arenas,Use that position for the /exit and use IsPlayerInArena == true; under the arena commands(teleports) and when they /exit use IsPlayerInArena == false etc etc to determine if they have used the arena command yet then u can just use else SendClientMessage, 0x0, "Your not in any arenas to exit!");
Use
new bool IsPlayerInArena[MAX_PLAYERS];
Should work
Hope it helps