Rejoining the dm zone..
#1

Im working on setting up dm zones for my GM im working on and ive pretty much got it working fine except for when players who are in a dm zone die, they have to rejoin the dm. How can i make it so they rejoin without retyping the command?

Quote:

if(strcmp(cmdtext, "/islanddm", true)==0)
{
SetPlayerInterior(playerid, 0);
new rand = random(sizeof(gRandomPlayerSpawns));
SetPlayerPos(playerid, islanddmspawns[rand][0], islanddmspawns[rand][1], islanddmspawns[rand][2]);
SetPlayerFacingAngle(playerid, 0.0);
GivePlayerWeapon(playerid,46,1);
SendClientMessage(playerid, COLOR_BLUE, "DEATHMATCH ISLAND");
DMZone[playerid] = 1;
return 1;

Thats only what i have so far..
Reply


Messages In This Thread
Rejoining the dm zone.. - by chaosnz - 03.08.2009, 03:58
Re: Rejoining the dm zone.. - by yezizhu - 03.08.2009, 04:59
Re: Rejoining the dm zone.. - by chaosnz - 03.08.2009, 05:06
Re: Rejoining the dm zone.. - by chaosnz - 04.08.2009, 09:05
Re: Rejoining the dm zone.. - by yezizhu - 04.08.2009, 11:45

Forum Jump:


Users browsing this thread: 1 Guest(s)