13.07.2012, 23:23
pawn Код:
//============================Interiores----------------------------------------
CMD:represa(playerid, params[]) {
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi pra represa Sherman Dam {FFFF00}/REPRESA", pname);
SendClientMessageToAll(0x00FF00FF, string);
SetPlayerInterior(playerid,17);
SetPlayerPos(playerid,-959.564392,1848.576782,9.000000);
SetPlayerFacingAngle(playerid,271.0);
return 1; }
//==============================================================================
CMD:ryder(playerid, params[]) {
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi pra casa do Ryder {FFFF00}/RYDER", pname);
SendClientMessageToAll(0x00FF00FF, string);
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,2454.717041,-1700.871582,1013.515197);
SetPlayerFacingAngle(playerid,271.0);
return 1; }
//==============================================================================
CMD:sweet(playerid, params[]) {
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi pra casa do Sweet {FFFF00}/SWEET", pname);
SendClientMessageToAll(0xFF00FFFF, string);
SetPlayerInterior(playerid,1);
SetPlayerPos(playerid,2527.654052,-1679.388305,1015.498596);
SetPlayerFacingAngle(playerid,271.0);
return 1;}
///=============================================================================
CMD:bs(playerid, params[]) {
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi pra casa dos Krakudos {FFFF00}/BS", pname);
SendClientMessageToAll(0xFF00FFFF, string);
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,2543.462646,-1308.379882,1026.728393);
SetPlayerFacingAngle(playerid,271.0);
return 1;}
//==============================================================================
CMD:mansao(playerid, params[]) {
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s foi pra Mansгo em LV {FFFF00}/mansao", pname);
SendClientMessageToAll(0xFF00FFFF, string);
SetPlayerInterior(playerid,12);
SetPlayerPos(playerid,2324.419921,-1145.568359,1050.710083);
SetPlayerFacingAngle(playerid,271.0);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
return 1;}
//==============================================================================
CMD:andromada(playerid, params[]) {
SetPlayerInterior(playerid, 9);
SetPlayerPos(playerid, 315.9222, 973.6248, 1961.5189);
GivePlayerWeapon(playerid, 46, 0);
GameTextForPlayer(playerid, "~w~Andromada", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o interior do Andromada {FFFF00}/andromada", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1;}
//==============================================================================
CMD:shamal(playerid, params[]) {
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, 1.8688, 34.3709, 1199.5937);
GameTextForPlayer(playerid, "~w~shamal", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o interior do shamal {FFFF00}/shamal", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1;}
//==============================================================================
CMD:derby(playerid, params[]) {
SetPlayerInterior(playerid, 15);
SetPlayerPos(playerid, -1317.1908,945.8188,1036.4867);
GameTextForPlayer(playerid, "~y~derby", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o derby {FFFF00}/derby", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1; }
//================]======================]===================]===============]==
CMD:derby2(playerid, params[]) {
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid, -1394.8817,-215.5168,1051.1439);
GameTextForPlayer(playerid, "~y~derby2", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o derby 2 {FFFF00}/derby2", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1; }
//==============================================================================
CMD:lcy(playerid, params[]) {
SetPlayerInterior(playerid, 1);
SetPlayerPos(playerid, -750.80, 491.00, 1374.70 );
GameTextForPlayer(playerid, "~y~Liberty City", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi Para Liberty City {FFFF00}/lcy", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1;}
//==============================================================================
CMD:stadium(playerid, params[]) {
SetPlayerInterior(playerid, 14);
SetPlayerPos(playerid, -1367.2737,1566.3998,1052.5313);
GameTextForPlayer(playerid, "~y~stadium", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o Stadium {FFFF00}/stadium", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1;}
//==============================================================================
CMD:bulletshop(playerid, params[]) {
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid, 314.820984,-141.431992,999.661987);
GameTextForPlayer(playerid, "~y~Bullet Shop", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o Bullet Shop {FFFF00}/bulletshop", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1; }
//==============================================================================
CMD:md(playerid, params[]) {
SetPlayerInterior(playerid, 5);
SetPlayerPos(playerid, 1299.14,-794.77,1084.00);
GameTextForPlayer(playerid, "~y~MadDogs", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para a casa do Mad Dogs {FFFF00}/md", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1;}
//==============================================================================
CMD:stadium2(playerid, params[]) {
SetPlayerInterior(playerid, 7);
SetPlayerPos(playerid, -1401.829956,107.051300,1032.273437);
GameTextForPlayer(playerid, "~y~Stadium 2", 4000, 6);
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
format(string, sizeof(string), "%s Foi para o Stadium 2 {FFFF00}/stadium2", pname );
SendClientMessageToAll(0xFF00FFFF, string);
return 1;}
//==============================================================================
CMD:vazari(playerid, params[]) {
SendClientMessage(playerid,0xFFFF00FF,"Vocк saiu do interior!");
SetPlayerInterior(playerid,0);
SpawnPlayer(playerid);
SetPlayerFacingAngle(playerid,271.0);
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
return 1;}