16.09.2012, 01:03
i tryied to add when i enter the dm area and someone kills me im automaticly spawned back there but the problem is when i exit DM and someone kill me outside it teleports me to DM area what i need to do so when someone kills me outside the dm i will be spawned at spawn point not in DM code
Код:
new dmevent[MAX_PLAYERS];
dmevent[playerid] = 1; i putted this on DM teleport command
//OnPlayerSpawn
if(dmevent[playerid] == 1)
{
// code for callback
}
if(dmevent[playerid] == 1) on /exitdm command

