19.03.2013, 16:19
(
Последний раз редактировалось kalanerik99; 19.03.2013 в 17:56.
)
deleted
public OnPlayerDeath(playerid)
{
if(InDM[playerid] == 1)
{
InDM[playerid] = 1;
SendClientMessage(playerid,COLOR_LIGHTBLUE, "You will respawn in DM Area until you type /rocket again.");
SendClientMessage(playerid, COLOR_LIGHTBLUE , "You have joined /rocket, to leave type /rocket again");
format(String, sizeof(String), "Server:{FFFFFF}%s(%d) has joined RocketDM(/rocket)", PlayerName, playerid);
SendClientMessageToAll(COLOR_LIGHTBLUE, String);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid, 10);
new rand = random(sizeof(DMSpawns));
SetPlayerPos(playerid, DMSpawns[rand][0], DMSpawns[rand][1], DMSpawns[rand][2]);
SetPlayerFacingAngle(playerid, DMSpawns[rand][3]);
GivePlayerWeapon(playerid, 35, 1500); // RPG
GivePlayerWeapon(playerid, 36, 1500); // HS Rocket
}
return 1;
}