03.08.2009, 03:58
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?
Thats only what i have so far..
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; |