06.12.2014, 08:25
Код:
gamemodes\W_BVC.pwn(1013) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
Код:
//----------------------------------[Enter]------------------------------------- { if(strcmp(cmdtext, "/enter", true)) { if(IsPlayerInRangeOfPoint(playerid, 3.0, -1185.7140,24.0274,271.2557)) { SetPlayerPos(playerid, 1802.6289,17.6406,21.9449);//AmmunationEntrance SetPlayerInterior(playerid, 1); } } if(strcmp(cmdtext, "/exit", true)) { if(IsPlayerInRangeOfPoint(playerid, 3.0, 1802.6289,17.6406,21.9449)) { SetPlayerPos(playerid, -1185.7140,24.0274,271.2557);//AmmunationExit SetPlayerInterior(playerid, 0); } } return 1; } //---------------------------------[Buy Guns]----------------------------------- if (strcmp("/buyguns", cmdtext, true, 10) == 0) { if(IsPlayerInRangeOfPoint(playerid, 9.0, 1807.8071,17.6406,10.9720))//Buy Guns Location { SendClientMessage(playerid, COLOR_WHITE, "{FF0000}> {E5E5E5}Follow the {FF0000}Red {E5E5E5}marker on your Radar!"); SetPlayerCheckpoint(playerid, 2123.2656,-1185.6619,24.0275,3.0);//Buy Guns Marker return 1; } ShowPlayerDialog(playerid,Dialog_BUYGUN,DIALOG_STYLE_LIST,"Illegal Gun Store","M4A1(150) ($5,000)\nRPG(1) ($10,000)\nSniper(50) ($7,000)\nMolotov(2) ($2,000)\nHealth ($1,000)\nArmour ($1,000)","Buy","Cancel"); return 1; }
![](http://files.sa-mp.im/file/3f0f11d9/4c69058e.jpg)