13.07.2010, 10:28
pawn Код:
if(DMArea[playerid] == 1)
{
if(PlayerDM[playerid] == 1)
{
new rand;
rand = random(3);
rand++ ;
switch(rand)
{
case 1: SetPlayerPos(playerid,2231.8542,-1162.1888,1029.7969);
case 2: SetPlayerPos(playerid,2240.6748,-1192.5139,1033.7969);
case 3: SetPlayerPos(playerid,2198.5537,-1193.8461,1029.7969);
case 4: SetPlayerPos(playerid,2189.0576,-1146.5973,1033.7969);
}
SetPlayerInterior(playerid,15);
return 1;
}
else if(PlayerDM[playerid] == 2)
{
new rand;
rand = random(3);
rand++ ;
switch(rand)
{
case 1: SetPlayerPos(playerid,277.7332,108.2940,1004.6172);
case 2: SetPlayerPos(playerid,277.7538,116.6690,1008.8130);
case 3: SetPlayerPos(playerid,221.1705,123.7949,999.0156);
case 4: SetPlayerPos(playerid,240.0472,119.9434,1010.2188);
}