SetPlayerWorldBounds For Death Match
#6

Create a variable, name it w/e you want and set it to 0 when a player types /dm, set it to 1
under onplayerspawn put:
if(variablename = 1)
SetPlayerPos(playerid, 538.99822, -5008.17626, 54.34835);
GivePlayerWeapon(playerid, 24, 99999999);
GivePlayerWeapon(playerid, 26, 99999999);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
SetPlayerWorldBounds(playerid, 1458.873, 1228.487, 2246.867, 2057.332);
then put
else
{
rest of OnPlayerSpawn data
}

Then under /exitdm set the variable to 0
Reply


Messages In This Thread
SetPlayerWorldBounds For Death Match - by waim - 30.07.2010, 00:57
Re: SetPlayerWorldBounds For Death Match - by PotH3Ad - 30.07.2010, 01:07
Re: SetPlayerWorldBounds For Death Match - by waim - 30.07.2010, 01:10
Re: SetPlayerWorldBounds For Death Match - by John_F - 30.07.2010, 01:24
Re: SetPlayerWorldBounds For Death Match - by waim - 30.07.2010, 02:07
Re: SetPlayerWorldBounds For Death Match - by John_F - 30.07.2010, 02:10
Re: SetPlayerWorldBounds For Death Match - by DragonBlaster50 - 30.07.2010, 02:10
Re: SetPlayerWorldBounds For Death Match - by waim - 30.07.2010, 02:20
Re: SetPlayerWorldBounds For Death Match - by John_F - 30.07.2010, 02:30
Re: SetPlayerWorldBounds For Death Match - by waim - 30.07.2010, 02:33

Forum Jump:


Users browsing this thread: 2 Guest(s)