28.05.2009, 16:05
yes dude:
pawn Код:
if(strcmp(cmdtext, "/back", true) == 0)
{
if(BlockCmd[playerid] ==1)
{
SetPlayerPos(playerid, PosX[playerid], PosY[playerid], PosZ[playerid]);
SetPlayerFacingAngle(playerid, PosA[playerid]);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, PosI[playerid]);
ResetPlayerWeapon(playerid);
BlockCmd[playerid] =0;
}else SendClientMessage(playerid,0xFF0000AA, "[ERROR] You cant use /back because you're not in a dm area");
return 1;
}