SA-MP Forums Archive
Help DM - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help DM (/showthread.php?tid=423835)



- kalanerik99 - 19.03.2013

deleted


Re: Help DM - Misiur - 19.03.2013

Well, the code you showed us does exactly this.


Re: Help DM - kalanerik99 - 19.03.2013

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


Re: Help DM - Gamer_007 - 19.03.2013

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;
}



Re: Help DM - kalanerik99 - 19.03.2013

thx for dm


Re: Help DM - kalanerik99 - 19.03.2013

Please help with dialog