Help DM
#1

deleted
Reply
#2

Well, the code you showed us does exactly this.
Reply
#3

no it spawns me on GAMEMODE random spawns i want that it will spawn me in ROCKET random spawns
Reply
#4

pawn Код:
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;
}
Reply
#5

thx for dm
Reply
#6

Please help with dialog
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)