09.10.2012, 09:34
pawn Код:
public OnPlayerSpawn(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, flip);
TextDrawShowForPlayer(playerid, autorepair);
PlayerPlaySound(playerid, 1184, 2127.2194,2368.6323,10.8203);
EnableBoast[playerid] = 0;
TextDrawShowForPlayer(playerid, UStuntingTextDraw);
TextDrawShowForPlayer(playerid, Time), TextDrawShowForPlayer(playerid, Date);
GivePlayerWeapon(playerid,24,500);
GivePlayerWeapon(playerid,27,500);
GivePlayerWeapon(playerid,34,500);
if(dm1[playerid] == 1) // If player is in dm1
{
return SetPlayerPos(playerid,203.5948, 1929.7161, 22.8286); // You force the player to put the command
}
if(dm1[playerid] == 2) // If player is in dm1
{
return SetPlayerPos(playerid,1537.8425,-1575.7318,67.2109); // You force the player to put the command
}
if(dm1[playerid] == 3) // If player is in dm1
{
return SetPlayerPos(playerid,-2155.9631,-194.5772,35.3203); // You force the player to put the command
}
if(dm1[playerid] == 4) // If player is in dm1
{
return SetPlayerPos(playerid,2377.4360351563, -4025.4250488281, 4.6225266456604); // You force the player to put the command
}
if(dm1[playerid] == 5) // If player is in dm1
{
return SetPlayerPos(playerid, 1290.5618,-2034.6489,58.2215); // You force the player to put the command
}
if(dm1[playerid] == 6) // If player is in dm1
{
return SetPlayerPos(playerid,2506.8252,-1667.8278,13.3767); // You force the player to put the command
}
if(dm1[playerid] == 7) // If player is in dm1
{
return SetPlayerPos(playerid,-1390.3849, 1494.4746, 1.6152); // You force the player to put the command
}
if(dm1[playerid] == 8) // If player is in dm1
{
return SetPlayerPos(playerid,-4799.9326, 1680.8673, 15.0000); // You force the player to put the command
}
return 1;
}